summary function

Summarizing Model Fits from bayesGAM

Summarizing Model Fits from bayesGAM

summary method for class bayesGAMfit

## S4 method for signature 'bayesGAMfit' summary(object)

Arguments

  • object: an object of class hmclearn, usually a result of a call to mh or hmc

Returns

Returns a matrix with posterior quantiles and the posterior scale reduction factor statistic for each parameter.

Examples

f <- bayesGAM(weight ~ np(height), data = women, family = gaussian, iter=500, chains = 1) summary(f)

References

Stan Development Team (2020). RStan: the R interface to Stan. R package version 2.21.1.

  • Maintainer: Samuel Thomas
  • License: GPL-3
  • Last published: 2022-03-17

Useful links