confint_numeric {crosstable} | R Documentation |
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]
Author(s)
Dan Chaltiel
Examples
confint_numeric(iris$Sepal.Length)
confint_numeric(mtcars2$hp_date)
confint_numeric(mtcars2$hp_date, level=0.99)
[Package crosstable version 0.7.0 Index]