mvl_inherits {RMVL} | R Documentation |
Check inheritance of R or MVL objects
Description
This function works just like the usual R inherits()
, except that for MVL_OBJECTS it used the class value stored in the MVL file.
For non-MVL objects the function simply calls the usual R inherit()
, so it can be used instead of inherit()
for code that operates on both usual R objects and MVL objects.
Usage
mvl_inherits(x, clstr, which = FALSE)
Arguments
x |
any object |
clstr |
classes to match against |
which |
when TRUE return a boolean array indicating of which classes named in |
Value
character string giving object class
[Package RMVL version 1.1.0.0 Index]