Say I have a tibble named `a'. It has three classes:
class(a)
"tbl_df" "tbl" "data.frame"
How can I extract just one of these classes?
a$data.frame
does not work.
Another example is a haven_labelled
object, b
which has three classes:
class(b)
"haven_labelled" "vctrs_vctr" "double"
How can I extract just the double part of b
?