powered by
Explore and summarize data
explore( dataset, vars = "", byvar = "", fun = c("mean", "sd"), top = "fun", tabfilt = "", tabsort = "", nr = Inf, data_filter = "", envir = parent.frame() )
A list of all variables defined in the function as an object of class explore
Dataset to explore
(Numeric) variables to summarize
Variable(s) to group data by
Functions to use for summarizing
Use functions ("fun"), variables ("vars"), or group-by variables as column headers
Expression used to filter the table (e.g., "Total > 10000")
Expression used to sort the table (e.g., "desc(Total)")
Number of rows to display
Expression used to filter the dataset before creating the table (e.g., "price > 10000")
Environment to extract data from
See https://radiant-rstats.github.io/docs/data/explore.html for an example in Radiant
See summary.explore to show summaries
summary.explore
explore(diamonds, c("price", "carat")) %>% str() explore(diamonds, "price:x")$tab explore(diamonds, c("price","carat"), byvar = "cut", fun = c("n_missing", "skew"))$tab
Run the code above in your browser using DataLab