View source: R/11.0-core-validators.R
| validate_range_core | R Documentation |
Validates that numeric values fall within specified ranges. Supports different strategies for handling out-of-range values.
validate_range_core(
value,
param_name,
min_val = NULL,
max_val = NULL,
strategy = "strict",
default_value = NULL,
skip_mask = NULL
)
value |
Numeric value(s) to validate |
param_name |
Parameter name for messages |
min_val |
Minimum allowed value |
max_val |
Maximum allowed value |
strategy |
Handling strategy for out-of-range values |
default_value |
Default value for replacement |
skip_mask |
Logical mask of values to skip validation |
Validation result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.