uniform: Assume A Multivariate Uniform Prior Distribution for The...

Description Usage Arguments Value Note See Also Examples

View source: R/8-UserPriors.R

Description

Creates independent uniform prior distributions for the unknown model parameters as an object of class cprior.

Usage

1
uniform(lower, upper)

Arguments

lower

A vector of lower bounds for the model parameters.

upper

A vector of upper bounds for the model parameters.

Value

An object of class cprior that is a list with the following components:

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.

Note

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 the same as the argument param in the function fimfunc.

See Also

bayes sensbayes

Examples

1
uniform(lower =  c(-3, .1), upper = c(3, 2))

ICAOD documentation built on Oct. 23, 2020, 6:40 p.m.

Related to uniform in ICAOD...