summary-stantvafit-method: Summary method for RStanTVA fits

summary,stantvafit-methodR Documentation

Summary method for RStanTVA fits

Description

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

Usage

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

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.

Value

See rstan::summary() for details.

Examples


f <- read_stantva_fit("fit.rds")
summary(f, "C_Intercept", probs = c(.025, .975))


RStanTVA documentation built on April 16, 2025, 5:10 p.m.