Learn R Programming

crosstable (version 0.8.0)

confint_numeric: Confidence interval of a numeric vector

Description

Not an S3 method, which might have conflicted with stats::confint.

Usage

confint_numeric(object, level = 0.95, B = 0)

Value

the vector [conf_inf, conf_sup]

Arguments

object

a vector, numeric or equivalent (date, logical...)

level

the confidence level required

B

if >0, the number of bootstraps

Author

Dan Chaltiel

Examples

Run this code
confint_numeric(iris$Sepal.Length)
confint_numeric(mtcars2$hp_date)
confint_numeric(mtcars2$hp_date, level=0.99)

Run the code above in your browser using DataLab