Learn R Programming

echoice2 (version 0.2.4)

ec_estimates_SIGMA_corr: Obtain posterior mean estimates of upper level correlations

Description

Obtain posterior mean estimates of upper level correlations

Usage

ec_estimates_SIGMA_corr(est)

Value

estimates of upper level correlations

Arguments

est

is an 'echoice2' draw object (list)

Examples

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

Run the code above in your browser using DataLab