Learn R Programming

matrixdist (version 1.1.9)

dens,biviph-method: Density method for bivariate inhomogeneous phase-type distributions

Description

Density method for bivariate inhomogeneous phase-type distributions

Usage

# S4 method for biviph
dens(x, y)

Value

A vector containing the joint density evaluations at the given locations.

Arguments

x

An object of class biviph.

y

A matrix of locations.

Examples

Run this code
under_bivph <- bivph(dimensions = c(3, 3))
obj <- biviph(under_bivph, gfun = c("weibull", "pareto"), gfun_pars = list(c(2), c(3)))
dens(obj, matrix(c(0.5, 1), ncol = 2))

Run the code above in your browser using DataLab