Skip to contents

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

Usage

STANPriors(variables, type, hyper = c(0, 2), ...)

# S4 method for class 'vector,character'
STANPriors(variables, type, hyper = c(0, 2), ...)

Arguments

variables

A vector of character matched against existing predictors or latent effects.

type

A character specifying the type of prior to be set.

hyper

A vector with numeric values to be used as hyper-parameters.

...

Variables passed on to prior object