ss_: *S*ummary *S*tatistics Table

Description Usage Arguments Value

View source: R/ss.R

Description

Produce a compact table of summary statistics for all or specified numeric variables in a dataframe.

Usage

1
2
3
4
5
ss_(data, ..., .dots, funs = summary_funs(), kable = FALSE, digits = 2,
  plot = FALSE)

ss(data, ..., funs = summary_funs(), kable = FALSE, digits = 2,
  plot = FALSE)

Arguments

data

A dataframe.

...

Bare names of numeric variables to summarize (NSE); if empty will summarize all numeric columns in data.

.dots

Quoted names of numeric variables to summarize (SE).

funs

List of summary functions defined as formulas on x.

kable

Logical, whether to return a kable for rendering in Rmarkdown.

digits

Number of digits to print after decimal.

plot

Logical, whether to plot (as a side-effect) a facet-wrapped set of histograms for all summarized variables.

Value

A data.frame or kable object containing the table of summary statistics.


rebelrebel04/xplor documentation built on May 27, 2019, 4:01 a.m.