Description Usage Arguments Value Author(s) Examples
This function takes a vector of statistics and calculates several summaries: mean, median, 95 the empirical p-value, that is, how many fall on the other side of zero.
1 | param_summary(x, digits = 2, pretty = FALSE, ..., na.rm = TRUE)
|
x |
a data vector to operate on |
digits |
Number of digits to round to for printing |
pretty |
Logical value whether prettified values should be returned.
Defaults to |
na.rm |
Logical whether to remove NA values. Defaults to |
... |
Additional arguments passed to |
.
Joshua F. Wiley <josh@elkhartgroup.com>
1 2 | param_summary(rnorm(100))
param_summary(rnorm(100), pretty = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.