| getModelSlots {bayesGAM} | R Documentation |
Return one or slots from the Stan model in bayesGAM
Description
Contains the objects and parameters passed to Stan in object of type glmModel, contained in object type bayesGAMfit
Usage
getModelSlots(object, ...)
## S4 method for signature 'bayesGAMfit'
getModelSlots(object, name = "X")
Arguments
object |
Object of type |
... |
Additional arguments for |
name |
Character name of slot in
|
Value
Contents of slot in glmModel
Examples
require(stats); require(graphics)
f <- bayesGAM(weight ~ np(height), data = women, family = gaussian,
iter = 500, chains = 1)
getModelSlots(f, "X")