as_class | R Documentation |
This is used as the interface between S7 and R's other OO systems, allowing you to use S7 classes and methods with base types, informal S3 classes, and formal S4 classes.
as_class(x, arg = deparse(substitute(x)))
x |
A class specification. One of the following:
|
arg |
Argument name used when generating errors. |
A standardised class: either NULL
, an S7 class, an S7 union,
as new_S3_class, or a S4 class.
as_class(class_logical)
as_class(new_S3_class("factor"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.