ci_pred: Calculate a confidence interval for a vector

Description Usage Arguments Value

Description

Given a vector, this function produces a three number summary consisting of the median, the median minus the standard deviation (multiplied by a scaling factor), and the median plus the standard deviation multiplied by a scaling factor.

Usage

1

Arguments

x

a numeric vector, can contain missing values, if so, they are ignored

scale

the factor to multiply the standard deviation by when creating the interval

Value

a numeric vector with three elements, the low end of the confidence interval, the median, and the high end of the confidence interval


jknowles/EWStools documentation built on May 19, 2019, 11:42 a.m.