dens-frailty-method: Density method for univariate phase type frailty models

dens,frailty-methodR Documentation

Density method for univariate phase type frailty models

Description

Density method for univariate phase type frailty models

Usage

## S4 method for signature 'frailty'
dens(x, y, X = numeric(0))

Arguments

x

An object of class frailty.

y

A vector of locations.

X

A matrix of covariates.

Value

A vector containing the density evaluations at the given locations.

Examples

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

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