confint {miscset} | R Documentation |
Confidence Intervals for Numeric Vectors
Description
Calculate confidence intervals for values of a numeric vector.
Usage
## 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. |
level |
Size of confidence (0 < size < 1). |
... |
Unused. |
na.rm |
Logical, remove missing values for |
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
#
confint(1:3)
confint(1:3, ret.attr = FALSE)
#
[Package miscset version 1.1.0 Index]