Learn R Programming

matrixdist (version 1.1.9)

sph: Constructor function for survival phase-type objects

Description

Constructor function for survival phase-type objects

Usage

sph(x = NULL, coefs = list(B = numeric(0), C = numeric(0)), type = "reg")

Value

An object of class sph.

Arguments

x

An object of class ph.

coefs

Coefficients of the survival regression object.

type

Type of survival object.