Given a single numeric vector, will compute mean and standard deviation, returning results in string. Mostly called by other functions.
numeric_cont(x, .digits=2)
x | A numeric vector |
---|---|
.digits | Significant figures to round to |
A character string of length 1, 'mean (SD)'
#> [1] "20 (6)"