stanfit_summary: Class for 'stanfit' summary objects

Description Usage Arguments Value Methods (by generic)

View source: R/stanfit-summary.R

Description

Class for stanfit summary objects

Usage

1
2
3
4
5
6
7
8
9
stanfit_summary(x)

## S3 method for class 'stanfit_summary'
print(x, ..., n = NULL, width = NULL,
  n_extra = NULL, stats = c("n_eff", "Rhat", "mean", "se_mean", "sd"))

## S3 method for class 'stanfit_summary'
as_data_frame(x, summary = TRUE, chains = FALSE,
  ...)

Arguments

x

For stanfit_summary, the result of the stanfit summary method. For methods, a stanfit_summary object.

...

Not used.

n

Number of rows to print

width

Width of text output to generate.

n_extra

Number of extra columns for which to print abbreviated information.

stats

character vector with the names of the stats to include.

summary

If TRUE, then return the summary of all chains.

chains

If TRUE, then return the individual chains. One of summary or chains must be TRUE. They will be appended together.

Value

An object of class stanfit_summary

Methods (by generic)


jrnold/bayz documentation built on May 5, 2019, 5:52 p.m.