is_class | R Documentation |
These functions are designed to be used in combination with the assertthat package
is_class(dat, class)
assert_class(dat, class)
dat %assert_class% class
dat |
any R object |
class |
the class to be checked for |
'is_class returns()' 'TRUE'/'FALSE'. It comes with a on_failure function and is designed to be used in conjunction with the assertthat package. 'assert_class()' and its infix version
'is_class()' returns 'TRUE'/'FALSE', 'assert_class()' returns 'TRUE' or fails with an error message.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.