Description Usage Arguments Value See Also Examples
Define a parameter with a known probability distribution
1 2 3 4 5 6 7 8 9 | param.distributed(type = c("norm", "beta", "binom", "cauchy", "chisq", "exp",
"f", "gamma", "geom", "hyper", "lnorm", "logis", "multinom", "nbinom", "pois",
"signrank", "t", "unif", "weibull", "wilcox", "birthday", "tukey"),
args = list(), initial = NULL, ...)
param.distr.int(type = c("norm", "beta", "binom", "cauchy", "chisq", "exp",
"f", "gamma", "geom", "hyper", "lnorm", "logis", "multinom", "nbinom", "pois",
"signrank", "t", "unif", "weibull", "wilcox", "birthday", "tukey"),
args = list(), initial = NULL, ...)
|
type |
The type of probability distrubtion. This is used to call the functions 'rTYPE' and 'dTYPE' (e.g, rnorm and dnorm), which are used by various optimisation algorithms. |
args |
A named list of arguments to pass to rTYPE and dTYPE (e.g., mean, sd). |
initial |
The initial value or NULL. |
... |
Additional arguments to be used in optimisation methods. |
An object of type 'param.distributed'
param.normal, param.real
1 2 3 | param.distributed("norm", args=list(mean=12, sd=2))
# is the same as
param.normal(mean=12, sd=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.