Learn R Programming

lrstat (version 0.2.13)

fquantile: The Quantiles of a Survival Distribution

Description

Obtains the quantiles of a survival distribution.

Usage

fquantile(S, probs, ...)

Value

A vector of length(probs) for the quantiles.

Arguments

S

The survival function of a univariate survival time.

probs

The numeric vector of probabilities.

...

Additional arguments to be passed to S.

Author

Kaifeng Lu, kaifenglu@gmail.com

Examples

Run this code

fquantile(pweibull, probs = c(0.25, 0.5, 0.75),
          shape = 1.37, scale = 1/0.818, lower.tail = FALSE)

Run the code above in your browser using DataLab