confint: Confidence Intervals for Numeric Vectors

Description Usage Arguments Value Author(s) Examples

Description

Calculate confidence intervals for values of a numeric vector.

Usage

1
2
3
## S3 method for class 'numeric'
confint(object, parm = qnorm, level = 0.95, ...,
  na.rm = TRUE, ret.attr = TRUE)

Arguments

object

A numeric vector.

parm

Function for quantile calculation. e.g. qnorm, qt

level

Size of confidence (0 < size < 1).

...

Unused.

na.rm

Logical, remove missing values for sd and mean.

ret.attr

Logical, to include the mean value and function arguments as attributes of the returned object.

Value

Returns a numeric vector with the lower and upper range of the confidence interval.

Author(s)

Sven E. Templer

Examples

1
2
3
4
5
6
#

confint(1:3)
confint(1:3, ret.attr = FALSE)

#

setempler/miscset documentation built on May 29, 2019, 8 p.m.