getDesign | R Documentation |
bayesGAMfit
objectContains the design matrices produced for model fitting. The fixed effects design matrix X
or random effects design matrix Z
can be specified.
getDesign(object, ...) ## S4 method for signature 'bayesGAMfit' getDesign(object, type = "X") ## S4 method for signature 'glmModel' getDesign(object, type = "X")
object |
Object of type |
... |
Additional arguments for |
type |
Character for fixed effect design matrix |
Contents of stanfit
results
require(stats); require(graphics) f <- bayesGAM(weight ~ np(height), data = women, family = gaussian, iter = 500, chains = 1) getDesign(f, "Z")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.