Calculate summary statistics
sumstats(x, level = 0.95)
A numeric vector, e.g., of expected values
A fraction between 0 and 1 giving the level at which to calculate confidence intervals.
A named vector of summary statistics.