sph {matrixdist}R Documentation

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")

Arguments

x

An object of class ph.

coefs

Coefficients of the survival regression object.

type

Type of survival object.

Value

An object of class sph.


[Package matrixdist version 1.1.9 Index]