Learn R Programming

RStanTVA (version 0.3.2)

summary,stantvafit-method: Summary method for RStanTVA fits

Description

Summarize the distributions of estimated parameters and derived quantities using the posterior draws.

Usage

# S4 method for stantvafit
summary(object, pars, ...)

Value

See rstan::summary() for details.

Arguments

object

The RStanTVA fit.

pars

(Optional) A character vector of variable names to extract.

...

Additional arguments passed to rstan::summary(), e.g. probs and use_cache.

Examples

Run this code
if (FALSE) {
f <- read_stantva_fit("fit.rds")
summary(f, "C_Intercept", probs = c(.025, .975))
}

Run the code above in your browser using DataLab