param_summary {varian} | R Documentation |
Calculates summaries for a parameter
Description
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.
Usage
param_summary(x, digits = 2, pretty = FALSE, ..., na.rm = TRUE)
Arguments
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 |
Value
.
Author(s)
Joshua F. Wiley <josh@elkhartgroup.com>
Examples
param_summary(rnorm(100))
param_summary(rnorm(100), pretty = TRUE)
[Package varian version 0.2.2 Index]