extract_parameters | R Documentation |
This function taks a pmwgs sampler object and extracts both the group level and the individual subject level samples for the specified parameter estimates. The resulting tibble will bein long format
extract_parameters(
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 |
A filter that defines which stage to draw samples from. |
A tibble with the parameter samples and a subjectid column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.