extract_cov | R Documentation |
This function taks a pmwgs sampler object and extracts the group level covariance samples for the specified parameter estimates.
extract_cov(
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 3D array with (M, M, N) where M is parameters and N is samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.