character_parameter {dynparam} | R Documentation |
Define a character / string parameter
character_parameter(id, default, values, description = NULL, tuneable = TRUE)
id |
The name of the parameter. |
default |
The default value of the parameter. |
values |
A set of possible values. |
description |
An optional (but recommended) description of the parameter. |
tuneable |
Whether or not a parameter is tuneable. |
dynparam for an overview of all dynparam functionality.
character_parameter(
id = "method",
default = "pearson",
values = c("pearson", "spearman", "kendall"),
description = "Which correlation coefficient to compute."
)