cont.cdf: CDF of a Continuous Random Variable

Description Usage Arguments Value Examples

View source: R/cont.cdf.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))

jhk0530/Rstat documentation built on Dec. 20, 2021, 11:11 p.m.