ecd.cdf: CDF of ecd

ecd.cdfR Documentation

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

Author(s)

Stephen H. Lihn

Examples

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

ecd documentation built on May 10, 2022, 1:07 a.m.