Confidence interval of a numeric vector
Not an S3 method, which might have conflicted with stats::confint .
confint_numeric(object, level = 0.95, B = 0)
object
: a vector, numeric or equivalent (date, logical...)level
: the confidence level requiredB
: if >0, the number of bootstrapsthe vector [conf_inf, conf_sup]
confint_numeric(iris$Sepal.Length) confint_numeric(mtcars2$hp_date) confint_numeric(mtcars2$hp_date, level=0.99)
Dan Chaltiel
Useful links