ecdf_fun: eCDF with confidence intervals

View source: R/ecdf_fun.R

ecdf_funR Documentation

eCDF with confidence intervals

Description

eCDF with confidence intervals

Usage

ecdf_fun(x, CI = TRUE, CI.interval = 0.95)

Arguments

x

numeric vector of the observations for ecdf; for the methods, an object inheriting from class "ecdf".

CI

If TRUE CDF confidence intervals will be calculated; default is set to TRUE.

CI.interval

Confidence interval; default is set to 0.95

Value

Compute an empirical cumulative distribution function, returns a data frame with value and proporiton. Code based on base eCDF function.

Examples

set.seed(12)
test<-rnorm(100)
ecdf_fun(test)

SwampThingPaul/AnalystHelper documentation built on May 15, 2024, 1:32 p.m.