Common summary statistics to use in add_rows.

Share:

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.