trace_plot {BDMMAcorrect} | R Documentation |
Trace plot of BDMMA output
trace_plot(trace, param, col = "black")
trace |
A data.frame named "trace" contained in the output of function BDMMA |
param |
A character vector including the parameters' name for trace_plot |
col |
A string defining the color of trace plot (default color is black) |
The function returns a list containing plot objects of parameters' trace plot.
require(SummarizedExperiment) data(Microbiome_dat) ## (not run) ## output <- BDMMA(Microbiome_dat, burn_in = 3000, sample_period = 3000) ## figure <- trace_plot(output$trace, param = c("alpha_1", "beta1_10")) ## print(figure)