Learn R Programming

staTools (version 0.1.0)

cdf: Cumulative Distribution Function

Description

Empirical Cumulative Distribution Function.

Usage

cdf(x)

Arguments

x
A vector of observations.

Examples

Run this code
x = rdispl(n = 1e4, xmin = 10, alpha = 2.5, xmax = 1e5)
obs = cdf(x)$x
ecdf = cdf(x)$y

Run the code above in your browser using DataLab