get_altrep_class_info {qs} | R Documentation |
Get the class information of an ALTREP object
Description
Gets the formal name of the class and package of an ALTREP object
Usage
get_altrep_class_info(obj)
Arguments
obj |
The ALTREP class name |
Value
The class information (class name and package name) of an ALTREP object, a character vector of length two. If the object is not an ALTREP object, returns NULL.
Examples
get_altrep_class_info(1:5)
[Package qs version 0.26.3 Index]