Determine object type.
otype(x)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"
otype(data.frame())
#> [1] "S3"
otype(1:10)
#> [1] "base"