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 June 23, 2024, 5:06 p.m.