| check_class_and_type | R Documentation |
Function for checking if an object is of a specific type or class.
check_class_and_type(
object,
object_name = NULL,
type_classes = "bool",
allow_NULL = FALSE,
min = NULL,
max = NULL,
allowed_values = NULL
)
object |
Any R object. |
object_name |
|
type_classes |
|
allow_NULL |
|
min |
|
max |
|
allowed_values |
|
Function does nothing return. It raises an error if the object is not of the specified type.
parameter min, max, and allowed_values do not apply if type_classes is a class.
allowed_values does only apply if type_classes is string.
Other Utils Checks Developers:
check_all_args()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.