as.ecdf: Converts an object to an empirical cumulative density...

Description Usage Arguments Value See Also Examples

Description

Converts an object to an empirical cumulative density function. This is a generic function.

Usage

1

Arguments

x

The object to coerce to a eCDF

Value

An instance of the "ecdf" class

See Also

ecdf()

Examples

1
2
cdf <- as.ecdf(1:4)
cdf(2) # returns 0.5

HistDat documentation built on April 6, 2021, 9:08 a.m.