There are several functions included in this package to help visualise the results of the MCMC run and of the tuning process.
The function combinePlotsBSL
can be used to plot multiple BSL and BSLasso densities together, optionally with the true values for the parameters.
The function plot.BSL
can be used to plot BSL and BSLasso densities, optionally with the true values for the parameters.
The function plot.penbsl
can be used to plot the results from tuning to select the optimal penalty for BSLasso.
combinePlotsBSL(..., true_value = NULL, thin = 1)# S3 method for bsl
plot(x, true_value = NULL, thin = 1, ...)
# S3 method for penbsl
plot(x, logscale = TRUE, ...)
The first inputs to the combinePlotsBSL
function should be two or more results of type bsl
, separated by commas.
A set of values to be included on the plots as a reference line. The default is NULL
.
The gap between samples to be taken when thinning the MCMC draws. The default is 1 (no thinning).
An object to be plotted.
An indicator for whether the penalty values should be shown on the log scale in plots of penbsl
objects. The default is TRUE
.