Calculate summary statistics

sumstats(x, level = 0.95)

Arguments

x

A numeric vector, e.g., of expected values

level

A fraction between 0 and 1 giving the level at which to calculate confidence intervals.

Value

A named vector of summary statistics.