powered by
Define a logical parameter
logical_parameter(id, default, description = NULL, tuneable = TRUE)
The name of the parameter.
The default value of the parameter.
An optional (but recommended) description of the parameter.
Whether or not a parameter is tuneable.
dynparam for an overview of all dynparam functionality.
# NOT RUN { logical_parameter( id = "scale", default = TRUE, description = "Whether or not to scale the input variables" ) # }
Run the code above in your browser using DataLab