param_summary: Calculates summaries for a parameter

Description Usage Arguments Value Author(s) Examples

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

1
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 FALSE.

na.rm

Logical whether to remove NA values. Defaults to TRUE

...

Additional arguments passed to pval_smartformat to control p-value printing.

Value

.

Author(s)

Joshua F. Wiley <josh@elkhartgroup.com>

Examples

1
2

varian documentation built on May 2, 2019, 6:09 a.m.