flip {radiant.data}R Documentation

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

explore(diamonds, "price:x", top = "var") %>% summary()
explore(diamonds, "price", byvar = "cut", fun = c("n_obs", "skew"), top = "byvar") %>% summary()


[Package radiant.data version 1.6.6 Index]