Learn R Programming

matrixdist (version 1.1.9)

dens,mph-method: Density method for multivariate phase-type distributions

Description

Density method for multivariate phase-type distributions

Usage

# S4 method for mph
dens(x, y, delta = NULL)

Value

A list containing the locations and corresponding density evaluations.

Arguments

x

An object of class mph.

y

A matrix of observations.

delta

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

Examples

Run this code
obj <- mph(structure = c("general", "general"))
dens(obj, matrix(c(0.5, 1), ncol = 2))

Run the code above in your browser using DataLab