powered by
The get_class() gets class of variables in data.frame or tbl_df.
get_class(df)
a data.frame Variables of data.frame is as follows.
variable : variables name
class : class of variables
a data.frame or objects inheriting from data.frame
find_class.
find_class
# data.frame get_class(iris) # tbl_df get_class(ggplot2::diamonds) library(dplyr) ggplot2::diamonds %>% get_class() %>% filter(class %in% c("integer", "numeric"))
Run the code above in your browser using DataLab