Summary Helpers
Usage
mean_sd(x, times = 1L, remove_na = TRUE, named = TRUE, ...)
median_mad(
x,
times = 1L,
remove_na = TRUE,
constant = 1.4826,
named = TRUE,
...
)Arguments
- x
A numeric vector (or one that can be coerced to one via
as.numeric()) to be summarized.- times
How many SDs above and below the Mean (or MADs around the Median)
- remove_na
Logical. Should
NAvalues be removed before computing (TRUE) or not (FALSE, default)?- named
Should the vector be named? (E.g.,
c("-SD" = -1, Mean = 1, "+SD" = 2).)- ...
Not used.
- constant
scale factor.
