compute_meansd: Basic Table, Mean (SD) format.

Description Usage Arguments Value

View source: R/compute_quant.R

Description

compute_meansd computes N, Mean and SD.

Usage

1
compute_meansd(x, combine = T, digits = 2)

Arguments

x

a numeric vector.

combine

a logical value. If TRUE, then the mean and SD are combined as 'Mean (SD)'. If FALSE, then the mean and SD are reported separately.

digits

an integer to pass to round.

...

additional arguments to pass to mean and sd.

Value

a character vector containing the computed statistics.


Scott-Coggeshall/magictable documentation built on July 30, 2020, 2:19 a.m.