Learn R Programming

radiant (version 0.1.95)

explore: Explore data

Description

Explore data

Usage

explore(dataset, expl_vars = "", data_filter = "", expl_byvar = "", expl_fun = c("length", "mean_rm"))

Arguments

dataset
Dataset name (string). This can be a dataframe in the global environment or an element in an r_data list from Radiant
expl_vars
(Numerical) variables to summaries
data_filter
Expression entered in, e.g., Data > View to filter the dataset in Radiant. The expression should be a string (e.g., "price > 10000")
expl_byvar
Variable(s) to group data by before summarizing
expl_fun
Functions to use for summarizing

Value

A list of all variables defined in the function as an object of class explore

Details

See http://vnijs.github.io/radiant/base/explore.html for an example in Radiant

See Also

summary.explore to show summaries

plot.explore to plot summaries

Examples

Run this code
result <- explore("diamonds", "price:x")
summary(result)
result <- explore("diamonds", "price", expl_byvar = "cut", expl_fun = c("length", "skew"))
summary(result)

Run the code above in your browser using DataLab