Skip to contents

This is a helper function to specify several GLMNETPrior with the same hyper-parameters, but different variables.

Usage

GLMNETPriors(variable, hyper = 0, lims = c(-Inf, Inf))

# S4 method for character
GLMNETPriors(variable, hyper = 0, lims = c(-Inf, Inf))

Arguments

variable

A character variable passed on to the prior object.

hyper

A numeric value between 0 and 1 that state the penalization factor. By default this is set to 0, 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)).