surv-phasetype-method: Survival method for phase-type distributions

surv,phasetype-methodR Documentation

Survival method for phase-type distributions

Description

Survival method for phase-type distributions

Usage

## S4 method for signature 'phasetype'
surv(x, q)

Arguments

x

An object of class phasetype.

q

A vector of locations.

Value

A vector containing the survival function evaluations at the given locations.

Examples

obj <- phasetype(structure = "general")
surv(obj, c(1, 2, 3))

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