Learn R Programming

radiant.data (version 0.8.1)

dtab.explore: Make a tabel of summary statistics in DT

Description

Make a tabel of summary statistics in DT

Usage

# S3 method for explore
dtab(object, dec = 3, searchCols = NULL, order = NULL,
  pageLength = NULL, ...)

Arguments

object

Return value from explore

dec

Number of decimals to show

searchCols

Column search and filter. Used to save and restore state

order

Column sorting. Used to save and restore state

pageLength

Page length. Used to save and restore state

...

further arguments passed to or from other methods

Details

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

See Also

pivotr to create the pivot-table using dplyr

summary.pivotr to print a plain text table

Examples

Run this code
# NOT RUN {
tab <- explore("diamonds", "price:x") %>% dtab
tab <- explore("diamonds", "price", byvar = "cut", fun = c("length", "skew"), top = "byvar") %>%
  dtab

# }

Run the code above in your browser using DataLab