Learn R Programming

ctsem (version 2.8.2)

extract.ctStanFit: Extract samples from a ctStanFit object

Description

Extract samples from a ctStanFit object

Usage

extract.ctStanFit(object, ...)

Arguments

object

ctStanFit object, samples may be from Stan's HMC, or the importance sampling approach of ctsem.

...

additional arguments to pass to rstan::extract.

Value

Array of posterior samples.

Examples

Run this code
# NOT RUN {
e = extract.ctStanFit(ctstantestfit)
head(e)
# }

Run the code above in your browser using DataLab