This is a helper function to specify several BARTPrior objects
with the same hyper-parameters, but different variables.
Usage
BARTPriors(variable, hyper = 0.75, ...)
# S4 method for class 'character'
BARTPriors(variable, hyper = 0.75, ...)
Arguments
- variable
A character matched against existing predictors or latent
effects.
- hyper
A numeric object with a value between 0 and
1. Defaults to 0.75.
- ...
Variables passed on to prior object.
See also
Other prior:
BARTPrior(),
BREGPrior(),
BREGPriors(),
GDBPrior(),
GDBPriors(),
GLMNETPrior(),
GLMNETPriors(),
INLAPrior(),
INLAPriors(),
STANPrior(),
STANPriors(),
XGBInteractionPrior(),
XGBInteractionPriors(),
XGBPrior(),
XGBPriors(),
add_priors(),
get_priors(),
priors(),
rm_priors()