View source: R/ParameterizedPrior.R
createParameterizedPrior | R Documentation |
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
)
priorType |
Character vector: specifies prior distribution. See below for options |
parameterize |
Function list: parameterizes location and variance |
values |
Numeric vector: initial parameter values |
useCrossValidation |
Logical: Perform cross-validation to determine |
forceIntercept |
Logical: Force intercept coefficient into prior |
A Cyclops prior object of class inheriting from "cyclopsPrior"
and "cyclopsFunctionalPrior"
for use with fitCyclopsModel
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.