Skip to contents

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

Usage

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

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

Arguments

variable

A character matched against existing predictors or latent effects.

hyper

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

...

Variables passed on to prior object.