
Helper function when multiple variables are supplied for a GLMNET prior
Source:R/prior_glmnet.R
GLMNETPriors.RdThis is a helper function to specify several GLMNETPrior with the same hyper-parameters, but different variables.
Arguments
- variable
A
charactervariable passed on to the prior object.- hyper
A
numericvalue between0and1that state the penalization factor. By default this is set to0, implying the"variable"provided is not regularized at all.- lims
A
numericvectorof the lower and upper limits for each coefficient (Default:c(-Inf, Inf)).
See also
Other prior:
BARTPrior(),
BARTPriors(),
BREGPrior(),
BREGPriors(),
GDBPrior(),
GDBPriors(),
GLMNETPrior(),
INLAPrior(),
INLAPriors(),
STANPrior(),
STANPriors(),
XGBPrior(),
XGBPriors(),
add_priors(),
get_priors(),
priors(),
rm_priors()