sph: Constructor function for survival phase-type objects

View source: R/6.sph.R

sphR 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.


matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.