Learn R Programming

echoice2 (version 0.2.4)

ec_trace_MU: Generate MU_theta traceplot

Description

Generate MU_theta traceplot

Usage

ec_trace_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_boxplot_MU() to obtain boxplot

Examples

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

Run the code above in your browser using DataLab