extract,stantvafit-method | R Documentation |
Returns posterior samples from a fitted RStanTVA model.
## S4 method for signature 'stantvafit'
extract(object, pars, ...)
object |
The RStanTVA fit. |
pars |
(Optional) A character vector of variable names to extract. |
... |
Additional arguments passed to |
See rstan::extract()
for details.
f <- read_stantva_fit("fit.rds")
extract(f, "C_Intercept")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.