mp: Constructor function for univariate phase type mixed Poisson...

View source: R/6.mixpoi.R

mpR Documentation

Constructor function for univariate phase type mixed Poisson models

Description

Constructor function for univariate phase type mixed Poisson models

Usage

mp(
  ph = NULL,
  B = numeric(0),
  alpha = NULL,
  S = NULL,
  structure = NULL,
  dimension = 3
)

Arguments

ph

An object of class phasetype.

B

Regression parameters.

alpha

A probability vector.

S

A sub-intensity matrix.

structure

A valid phase-type structure.

dimension

The dimension of the phase-type structure (if provided).

Value

An object of class mp.

Examples

mp(phasetype(structure = "coxian", dimension = 4))

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