Learn R Programming

crosstable (version 0.3.2)

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)

Arguments

object

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

level

the confidence level required

B

if >0, the number of bootstraps

Value

the vector [conf_inf, conf_sup]

Examples

Run this code
# NOT RUN {
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