ec_estimates_screen {echoice2} | R Documentation |
Summarize attribute-based screening parameters
Description
Summarize attribute-based screening parameters from an attribute-based screening model in 'echoice2'
Usage
ec_estimates_screen(est, quantiles = c(0.05, 0.95))
Arguments
est |
is an 'echoice2' draw object (list) from a model with attribute-based screening |
quantiles |
quantile for CI |
Value
tibble with screening summaries
Examples
#run MCMC sampler (use way more than 20 draws for actual use)
data(icecream)
est_scr_icecream <- vd_est_vdm_screen(icecream%>%dplyr::filter(id<30), R=20, cores=2)
#summarise draws of screening probabilities
ec_estimates_screen(est_scr_icecream)
#Note: There is no variance in this illustrative example - more draws are needed
[Package echoice2 version 0.2.4 Index]