summaries: Compute summaries a quantity

Description Usage Arguments Examples

Description

These tools are especially useful in conjunction with summarise(). mean_sd() returns a list with components mean and sd.

Usage

1
2
3
4
5
mean_sd(x, rm_na = TRUE)

q025(x)

q975(x)

Arguments

x

A quantity to summarise.

rm_na

Whether to remove missing values.

Examples

1
2
3
4
5
radon_sims %>%
  summarise(
    mu_y = list(q025(mu_y), q975(mu_y)),
    Beta = mean_sd(Beta)
  )

lionel-/gsim documentation built on May 21, 2019, 6:41 a.m.