Description Usage Arguments Value Functions Examples
These functions allow you to access the properties of a CanonicalForm from inside of another function. See examples.
1 2 3 4 5 | canonical_object_class(cf = NULL)
canonical_col_names(cf = NULL)
canonical_col_classes(cf = NULL)
|
cf |
a CanonicalForm object |
The value of a property
canonical_col_names
: Canonical object class
canonical_col_classes
: Canonical column classes
1 2 3 | check_col_names_in_canonical <- function(x) all(colnames(x) %in% canonical_col_names())
cf <- extract_canonical_form(cars)
run_check(check_col_names_in_canonical, cf, x = cars)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.