cont.cdf: CDF of a Continuous Random Variable

Description Usage Arguments Value Examples

View source: R/ch4-fn.R

Description

Cumulative Distribution Function of a Continuous Random Variable

Usage

1
cont.cdf(FUN, low, up, xs, mt, dig = 4, pos = "bottomright")

Arguments

FUN

Probability density function

low

Lower limit of x-axis

up

Upper limit of x-axis

xs

Specific values of X for displaying the probability

mt

Graph Title of the CDF

dig

Number of digits below the decimal point, Default: 4

pos

Legend location, Default: 'bottomright'

Value

None.

Examples

1
2
pdf = function(x) 2*exp(-2*x)*(x>0)
cont.cdf(pdf, low=-1, up=3, xs=c((1:5)*0.2, 2))

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