powered by
Density method for multivariate inhomogeneous phase-type distributions
# S4 method for miph dens(x, y, delta = NULL)
A list containing the locations and corresponding density evaluations.
An object of class miph.
A matrix of observations.
Matrix with right-censoring indicators (1 uncensored, 0 right censored).
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))
Run the code above in your browser using DataLab