getDesign {bayesGAM} | R Documentation |
Design matrices from a bayesGAMfit
object
Description
Contains the design matrices produced for model fitting. The fixed effects design matrix X
or random effects design matrix Z
can be specified.
Usage
getDesign(object, ...)
## S4 method for signature 'bayesGAMfit'
getDesign(object, type = "X")
## S4 method for signature 'glmModel'
getDesign(object, type = "X")
Arguments
object |
Object of type |
... |
Additional arguments for |
type |
Character for fixed effect design matrix |
Value
Contents of stanfit
results
Examples
require(stats); require(graphics)
f <- bayesGAM(weight ~ np(height), data = women, family = gaussian,
iter = 500, chains = 1)
getDesign(f, "Z")
[Package bayesGAM version 0.0.2 Index]