Description Usage Arguments Value See Also Examples
Creates the prior distribution for the parameters as an object of class cprior.
1 |
mean |
A vector of length |
S |
A symmetric positive-definite matrix representing the scale matrix of the distribution, such that |
df |
Degrees of freedom; it must be a positive integer. For more details, see 'Arguments' in |
lower |
A vector of lower bounds for the model parameters. |
upper |
A vector of upper bounds for the model parameters. |
An object of class cprior that is a list with the following components:
fn: prior distribution as an R function with argument param that is the vector of the unknown parameters. See below.
npar: Number of unknown parameters and is equal to the length of param.
lower: Argument lower. It has the same length as param.
upper: Argument lower. It has the same length as param.
The list will be passed to the argument prior of the function bayes.
The order of the argument param in fn has the same order as the argument parvars when the model is specified by a formula.
Otherwise, it is equal to the argument param in the function fimfunc.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.