cdf-frailty-method: Distribution method for univariate phase type frailty models

cdf,frailty-methodR Documentation

Distribution method for univariate phase type frailty models

Description

Distribution method for univariate phase type frailty models

Usage

## S4 method for signature 'frailty'
cdf(x, q, X = numeric(0), lower.tail = TRUE)

Arguments

x

An object of class frailty.

q

A vector of locations.

X

A matrix of covariates.

lower.tail

Logical parameter specifying whether lower tail (cdf) or upper tail is computed.

Value

A vector containing the CDF evaluations at the given locations.

Examples

obj <- frailty(phasetype(structure = "general"), bhaz = "weibull", bhaz_pars = 2)
cdf(obj, c(1, 2, 3))

jorgeyslas/phfrailty documentation built on April 17, 2025, 4:11 p.m.