s3_class | R Documentation |
Compared to class()
, this always returns the class vector that is
used for dispatch. This is most important for objects where the
class attribute has not been set.
s3_class(x)
x |
A primitive type |
s3_class(NULL)
s3_class(logical())
s3_class(integer())
s3_class(numeric())
s3_class(character())
s3_class(matrix())
s3_class(matrix(1))
s3_class(array())
s3_class(array(1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.