View source: R/dsmartr_helpers.R
in_range | R Documentation |
Returns true if number is within range
in_range(value = NULL, lower = NULL, upper = NULL, strict = TRUE)
value |
Numeric; number to check |
lower |
Numeric; lower limit of range |
upper |
Numeric; upper limit of range |
strict |
Logical; < or <= ? |
TRUE if value is within range
in_range(5, 3, 6)
in_range(5, 3, 5, FALSE)
in_range(5, 3, 5, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.