summary.flexreg_postpred function

Summary Method for flexreg_postpred objects

Summary Method for flexreg_postpred objects

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

## 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.

Returns

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)
  • Maintainer: Roberto Ascari
  • License: GPL (>= 2)
  • Last published: 2023-09-29

Useful links