Learn R Programming

bayesGAM (version 0.0.2)

summary: Summarizing Model Fits from bayesGAM

Description

summary method for class bayesGAMfit

Usage

# S4 method for bayesGAMfit
summary(object)

Arguments

object

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

Value

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

References

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

Examples

Run this code
# NOT RUN {
f <- bayesGAM(weight ~ np(height), data = women, 
              family = gaussian, iter=500, chains = 1)

summary(f)
# }

Run the code above in your browser using DataLab