Description Usage Arguments Value Examples
Define a Real Parameter
1 | param.real(bounds, initial = NULL, ...)
|
bounds |
A vector of length 2 describing the upper and lower bounds for the parameter.
Some optimisation algorithms can handle values of |
initial |
The initial value (must be within |
... |
Additional arguments to be used in optimisation methods |
An object of type 'param.real'
1 2 3 4 5 | # unbounded real parameter (may not work in all optimisation algorithms)
param.real(c(-Inf, Inf))
# bounded real parameter
param.real(c(0, 100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.