| check_data | R Documentation |
Stops with an informative message if the data are not numeric, have fewer than 4 finite observations, or violate a stated support constraint.
check_data(x, dist_name = NULL, require_pos = FALSE, require_01 = FALSE)
x |
Numeric vector supplied by the user. |
dist_name |
Distribution name, used only in error messages. |
require_pos |
If TRUE, all values must be strictly positive. |
require_01 |
If TRUE, all values must lie in the open interval (0,1). |
Invisibly TRUE; stops on failure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.