| validar_escalar | R Documentation |
Validate that a numeric scalar is finite and within an optional range
validar_escalar(x, nome, min = -Inf, max = Inf, permitir_inf = FALSE)
x |
Value to validate. |
nome |
Character. Name of the argument, used in error messages. |
min |
Optional numeric lower bound (inclusive). |
max |
Optional numeric upper bound (inclusive). |
permitir_inf |
Logical. If |
x, invisibly, if valid; otherwise raises an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.