fquantile: The Quantiles of a Survival Distribution

View source: R/getDesignSurvivals.R

fquantileR Documentation

The Quantiles of a Survival Distribution

Description

Obtains the quantiles of a survival distribution.

Usage

fquantile(S, probs, ...)

Arguments

S

The survival function of a univariate survival time.

probs

The numeric vector of probabilities.

...

Additional arguments to be passed to S.

Value

A vector of length(probs) for the quantiles.

Author(s)

Kaifeng Lu, kaifenglu@gmail.com

Examples


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


lrstat documentation built on Oct. 18, 2024, 9:06 a.m.