disc.cdf: CDF of a Discrete Random Variable

View source: R/ch4-fn.R

disc.cdfR Documentation

CDF of a Discrete Random Variable

Description

Cumulative Distribution Function of a Discrete Random Variable

Usage

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

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

adoocavo/Rstat_M1 documentation built on March 19, 2022, 3:34 a.m.