Determine object type.
otype(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
isS4
RC: inherits from "refClass"
Other object inspection: address, inspect, inspect, refs, sexp_type, typename; ftype
address
inspect
refs
sexp_type
typename
ftype
# NOT RUN { otype(data.frame()) otype(1:10) # }
Run the code above in your browser using DataCamp Workspace