param_summary | R Documentation |
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.
param_summary(x, trans = function(x) x, ..., na.rm = TRUE)
x |
a data vector to operate on |
trans |
A function to transform the data. Used for summaries, but not p-values. Defaults to the identity function. |
... |
Additional arguments passed to |
na.rm |
Logical whether to remove NA values. Defaults to |
A data frame of summary statistics
param_summary(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.