descstat: Detailed descriptive statistics for one or more columns...

Description Usage Arguments Value Author(s) Examples

Description

Detailed descriptive statistics for one or more columns columns.

Usage

1
descstat(df, ..., sep = "_(?=[^_]+$)")

Arguments

df

Dataframe

...

One or more numeric column names to be evaluated.

sep

Character string separating original column name and statistic. By default, this is a regex that finds the last underscore character in the column name. Normally this will work and doesn't need to be changed.

Value

Dataframe of statistics for each column input.

Author(s)

Alex M Trueman

Examples

1
2
d <- data.frame(a = rnorm(10, 100, 20), b = rnorm(10, 1, 2))
descstat(d, a, b)

truemoid/mstats documentation built on May 24, 2019, 7:17 a.m.