bayesGAMfit function

Contains results from rstan as well as the design matrices and other data for the model.

Contains results from rstan as well as the design matrices and other data for the model.

Returns object generated from model fit by bayesGAM class

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

Arguments

  • object: Object of type bayesGAMfit which stores the results from rstan, design matrices, and other data for the model.

Slots

  • results: Object of type stanfit returned from calling rstan::sampling
  • model: Object of custom type glmModel with the data and input parameters passed to rstan
  • offset: Optionally numeric offset for the generalized additive model
  • spcontrol: List of control parameters for bayesGAMfit
  • mcmcres: Matrix of MCMC results for all chains, if plot data is stored
  • pdata: Dataframe for default plot method, if plot data is stored.
  • Maintainer: Samuel Thomas
  • License: GPL-3
  • Last published: 2022-03-17

Useful links