spikeSlabGAM
ssGAMDesign(formula, data, specials=c("u", "lin", "fct", "sm", "rnd",
"mrf", "srf"), minUniqueValues=6,
lowRankInteractions=TRUE, orthogonalizeInteractions=TRUE,
decomposition)
formula
.
Terms in the formula that are not in the list of specials are automatically assigned
an appropriate special, i.e. numerical covadata.frame
containing all the variables in the functionsm()
for an example.
The documentation for
Design
to the different model termsspikeSlabGAM
to provide all the arguments necessary for the MCMC sampler.
Setting lowRankInteractions
to FALSE can result in very large models, especially if higher-order interactions
or interactions between terms with lots of parameters are involved. Note that numeric covariates with fewer unique values than
minUniqueValues
are treated as factors unless wrapped in a special argument.
This function is not meant to be called directly by the user, spikeSlabGAM
is the user interface.