extract_tmu | R Documentation |
This function taks a pmwgs sampler object and extracts the group level samples for the specified parameter estimates.
extract_tmu(
sampler,
par_names = sampler$par_names,
filter = unique(sampler$samples$stage)
)
sampler |
The pmwgs sampler object |
par_names |
The names of the parameters to extract - defaults to all parameters estimated. |
filter |
The sampling stages to extract - defaults to all stages run. Can also be a vector of sample indices. |
A tibble with the parameter samples and a sampleid column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.