numeric_range_parameter {dynparam} | R Documentation |
Define a numeric range parameter
Description
Define a numeric range parameter
Usage
numeric_range_parameter(
id,
default,
lower_distribution,
upper_distribution,
description = NULL,
tuneable = TRUE
)
Arguments
id |
The name of the parameter. |
default |
The default value of the parameter. |
lower_distribution |
A distribution from which the lower value of the range can be sampled. |
upper_distribution |
A distribution from which the upper value fo the range can be sampled. |
description |
An optional (but recommended) description of the parameter. |
tuneable |
Whether or not a parameter is tuneable. |
See Also
dynparam for an overview of all dynparam functionality.
Examples
numeric_range_parameter(
id = "quantiles",
default = c(0.1, 0.99),
lower_distribution = uniform_distribution(0, 0.25),
upper_distribution = uniform_distribution(0.9, 1),
description = "The lower and upper quantile thresholds."
)
[Package dynparam version 1.0.2 Index]