confint_numeric function

Confidence interval of a numeric vector

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)

Arguments

  • object: a vector, numeric or equivalent (date, logical...)
  • level: the confidence level required
  • B: if >0, the number of bootstraps

Returns

the vector [conf_inf, conf_sup]

Examples

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

Author(s)

Dan Chaltiel