summary.flexreg_postpred: Summary Method for ”flexreg_postpred” objects

View source: R/posterior_predictive.R

summary.flexreg_postpredR Documentation

Summary Method for `flexreg_postpred` objects

Description

Summary method for an object of class `flexreg_postpred`, containing the simulated posterior predictive distribution.

Usage

## S3 method for class 'flexreg_postpred'
summary(object, ...)

Arguments

object

an object of class `flexreg_postpred` containing the simulated posterior predictives, usually the result of posterior_predict.

...

additional arguments.

Value

The function summary.flexreg_postpred returns an array with the statistical units by row. The number of rows of the array is equal to the number of columns of the object of class `flexreg_postpred` that is given to the function. By column there are some synthesis values that are the minimum, the first quartile, the media, the mean, the third quartile, and the maximum.

Examples

## Not run: 
data("Reading")
FB <- flexreg(accuracy ~ iq, data = Reading)
pp <- posterior_predict(FB)
summary(pp)

## End(Not run)


FlexReg documentation built on Sept. 29, 2023, 9:06 a.m.