createParameterizedPrior
creates a Cyclops prior object for use with fitCyclopsModel
in which arbitrary R
functions parameterize the prior location and variance.
createParameterizedPrior(
priorType,
parameterize,
values,
useCrossValidation = FALSE,
forceIntercept = FALSE
)
A Cyclops prior object of class inheriting from "cyclopsPrior"
and "cyclopsFunctionalPrior"
for use with fitCyclopsModel
.
Character vector: specifies prior distribution. See below for options
Function list: parameterizes location and variance
Numeric vector: initial parameter values
Logical: Perform cross-validation to determine parameters
.
Logical: Force intercept coefficient into prior