table_stats: Common summary statistics to use in 'add_rows()'.

Description Usage Arguments Value See Also

Description

Common summary statistics to use in add_rows().

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
stat_median(x, digits = 1)

stat_iqr(x, digits = 1)

stat_medianIQR(x, digits = 1)

stat_mean(x, digits = 1)

stat_stddev(x, digits = 1)

stat_meanSD(x, digits = 1)

stat_nPct(x, digits = 0)

Arguments

x

Numeric vector to use to calculate the statistic

digits

Number of digits to use

Value

Create a single character string with the summary statistic

See Also

carpenter() for a list of all functions, examples, and accessing the introduction tutorial vignette.


lwjohnst86/carpenter documentation built on May 21, 2019, 9:03 a.m.