otype {pryr} | R Documentation |
Determine object type.
otype(x)
x |
object to determine type of |
Figure out which object system an object belongs to:
base: no class attribute
S3: class attribute, but not S4
S4: isS4
, but not RC
RC: inherits from "refClass"
Other object inspection: ftype
,
sexp_type
otype(data.frame()) otype(1:10)