Learn R Programming

radiant.data (version 1.0.6)

flip: Flip the DT table to put Function, Variable, or Group by on top

Description

Flip the DT table to put Function, Variable, or Group by on top

Usage

flip(expl, top = "fun")

Arguments

expl

Return value from explore

top

The variable (type) to display at the top of the table ("fun" for Function, "var" for Variable, and "byvar" for Group by. "fun" is the default

Details

See https://radiant-rstats.github.io/docs/data/explore.html for an example in Radiant

See Also

explore to calculate summaries

summary.explore to show summaries

dtab.explore to create the DT table

Examples

Run this code
# NOT RUN {
explore(diamonds, "price:x", top = "var") %>% summary()
explore(diamonds, "price", byvar = "cut", fun = c("n_obs", "skew"), top = "byvar") %>% summary()

# }

Run the code above in your browser using DataLab