Learn R Programming

bda (version 1.1.1-7)

edf: To compute the empirical distribution function.

Description

To compute the empirical distribution function.

Usage

edf(x,y=NULL)

Arguments

x
A sample. 'NA' values will be automatically removed.
y
A grid of points where the edf will be evaluated.

See Also

pcb.

Examples

Run this code
x = rnorm(100)
(out = edf(x))
plot(out)
(out2= pcb(out))
lines(out2)

Run the code above in your browser using DataLab