Learn R Programming

radiant.data (version 0.6.0)

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 http://radiant-rstats.github.io/docs/data/explore.html for an example in Radiant

See Also

explore to generate summaries

dtab.explore to create the DT table

Examples

Run this code
result <- explore("diamonds", "price:x", top = "var")
result <- explore("diamonds", "price", byvar = "cut", fun = c("length", "skew"), top = "byvar")

Run the code above in your browser using DataLab