check_param | R Documentation |
Check a parameter is the correct type and length
check_param(param, name = "param", type = "numeric", length)
param |
A parameter to check the format of. |
name |
A character string naming the variable to check. |
type |
A character string identifying the allowed parameter type (must be a type with a is.type function except for a Date). |
length |
Numeric, allowed length of the variable. Defaults to any allowed length. |
Functions used for checking inputs
check_dataframe()
,
check_observations()
,
check_quantiles()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.