Learn R Programming

distributions3 (version 0.1.2)

cdf.Tukey: Evaluate the cumulative distribution function of a Tukey distribution

Description

Evaluate the cumulative distribution function of a Tukey distribution

Usage

# S3 method for Tukey
cdf(d, x, ...)

Arguments

d

A Tukey distribution created by a call to Tukey().

x

A vector of elements whose cumulative probabilities you would like to determine given the distribution d.

...

Unused. Unevaluated arguments will generate a warning to catch mispellings or other possible errors.

Value

A vector of probabilities, one for each element of x.

See Also

Other Tukey distribution: quantile.Tukey()

Examples

Run this code
# NOT RUN {
set.seed(27)

X <- Tukey(4L, 16L, 2L)
X

cdf(X, 4)
quantile(X, 0.7)

# }

Run the code above in your browser using DataLab