Helper function when multiple variables are supplied for a GLMNET prior
Source:R/prior_glmnet.R
GLMNETPriors.Rd
This is a helper function to specify several GLMNETPrior with the same hyper-parameters, but different variables.
Arguments
- variable
A
character
variable passed on to the prior object.- hyper
A
numeric
value between0
and1
that state the penalization factor. By default this is set to0
, implying the"variable"
provided is not regularized at all.- lims
A
numeric
vector
of 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()