Skip to contents

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

Usage

GDBPriors(variable, hyper = "increasing", ...)

# S4 method for class 'character'
GDBPriors(variable, hyper = "increasing", ...)

Arguments

variable

A character matched against existing predictors variables.

hyper

A character object describing the type of constrain. Available options are 'increasing', 'decreasing', 'convex', 'concave', 'positive', 'negative' or 'none'.

...

Variables passed on to prior object.