Learn R Programming

ecd (version 0.6.4)

ecd.cdf: CDF of ecd

Description

CDF of ecd, integration of PDF from -Inf (or a point of choice) to x

Usage

ecd.cdf(object, x, from.x = -Inf, piece.wise = FALSE, f = NULL, verbose = FALSE)

Arguments

object
An object of ecd class
x
A numeric vector of x
from.x
A value or a vector of starting x, default -Inf
piece.wise
Logical. If TRUE, use cumulative method for large array. Default to FALSE. Use it with a scalar from.x.
f
an optional extension to perform integral on function other than 1. This is for internal use only. You should use the respective wrappers.
verbose
logical, display timing information, for debugging purpose.

Value

The CDF

Examples

Run this code
d <- ecd()
x <- seq(-10, 10, by=1)
ecd.cdf(d,x)
ecd.cdf(d,1, from.x = -1)

Run the code above in your browser using DataLab