dens-miph-method: Density method for multivariate inhomogeneous phase-type...

dens,miph-methodR Documentation

Density method for multivariate inhomogeneous phase-type distributions

Description

Density method for multivariate inhomogeneous phase-type distributions

Usage

## S4 method for signature 'miph'
dens(x, y, delta = NULL)

Arguments

x

An object of class miph.

y

A matrix of observations.

delta

Matrix with right-censoring indicators (1 uncensored, 0 right censored).

Value

A list containing the locations and corresponding density evaluations.

Examples

under_mph <- mph(structure = c("general", "general"))
obj <- miph(under_mph, gfun = c("weibull", "pareto"), gfun_pars = list(c(2), c(3)))
dens(obj, c(1, 2))

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