disc.cdf: CDF of a Discrete Random Variable

Description Usage Arguments Value Examples

View source: R/ch4-fn.R

Description

Cumulative Distribution Function of a Discrete Random Variable

Usage

1
disc.cdf(xv, xp, mt, cpt = 1.2, cex = 1, dig = 3)

Arguments

xv

Vector of values of the discrete random variable

xp

Vector of the discrete PDF

mt

Graph Title of the CDF

cpt

Text size of the limit points, Default: 1.2

cex

Text size of the probability, Default: 1

dig

Number of digits below the decimal point, Default: 3

Value

None.

Examples

1
disc.cdf(0:3, choose(3, 0:3))

tjssu/Rstat documentation built on Aug. 8, 2020, 12:38 p.m.