R/11.0-core-validators.R
validate_fraction.Rd
Specialized validator for fraction/proportion values.
validate_fraction( value, param_name, strategy = "strict", allow_zero = TRUE, allow_one = TRUE )
Value(s) to validate
Parameter name
Handling strategy
Whether zero is allowed
Whether one is allowed
Validation result