Learn R Programming

echoice2 (version 0.2.4)

ec_boxplot_MU: Generate MU_theta boxplot

Description

Generate MU_theta boxplot

Usage

ec_boxplot_MU(draws, burnin = 100)

Value

A ggplot2 plot containing traceplots of draws

Arguments

draws

A list, 'echoice2' draws object

burnin

burn-in to remove

See Also

ec_trace_MU() to obtain traceplot

Examples

Run this code
if (FALSE) {
data(icecream)
#run MCMC sampler (use way more than 50 draws for actual use
icecream_est <- icecream %>% dplyr::filter(id<100) %>% vd_est_vdm(R=20, cores=2)
ec_boxplot_MU(icecream_est, burnin=1)
}

Run the code above in your browser using DataLab