View source: R/safety_checks.R
| check_all_finite | R Documentation |
Stops with an error if the input contains NA, NaN,
or Inf values.
check_all_finite(x, label = "data")
x |
a numeric vector or matrix. |
label |
character string, a human-readable label for the data (used in the error message). |
TRUE (invisibly) if all values are finite. Stops otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.