View source: R/extract.ctStanFit.R
ctExtract | R Documentation |
Extract samples from a ctStanFit object
ctExtract(
object,
subjectMatrices = FALSE,
cores = 2,
nsamples = "all",
subjects = "all"
)
object |
ctStanFit object, samples may be from Stan's HMC, or the importance sampling approach of ctsem. |
subjectMatrices |
Calculate subject specific system matrices? |
cores |
Only used if subjectMatrices = TRUE . For faster computation use more cores. |
nsamples |
either 'all' or an integer denoting number of random samples to extract. |
subjects |
either 'all', or an integer vector denoting subjects to extract. |
Array of posterior samples.
e = ctExtract(ctstantestfit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.