View source: R/INTERFACE__Parameter.R
parameter | R Documentation |
Create a parameter the objective function is minimized with respect to.
parameter(name, min_val, max_val, integer = FALSE)
name |
name of the parameter. |
min_val |
minimum value the parameter is allowed to assume during minimization. |
max_val |
maximum value the parameter is allowed to assume during minimization. |
integer |
if |
parameter
returns an object of class Parameter
.
p1 <- parameter("x1", 18, 32, integer = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.