xdextract {XDNUTS} | R Documentation |
Function to extract samples from the output of an XDNUTS model.
Description
Function to extract samples from the output of an XDNUTS model.
Usage
xdextract(X, which = NULL, which_chains = NULL, collapse = FALSE)
Arguments
X |
an object of class |
which |
either a numerical vector indicating the index of the parameters of interest or a string
where both |
which_chains |
a vector of indices containing the chains to extract. By default, all chains are considered. |
collapse |
a boolean value. If TRUE, all samples from every chain are collapsed into one. The default value is FALSE. |
Value
an N \times d
matrix or an N \times d \times C
array, where C is the number of chains, containing the MCMC samples.
[Package XDNUTS version 1.2 Index]