dens,miph-method | R Documentation |
Density method for multivariate inhomogeneous phase-type distributions
## S4 method for signature 'miph'
dens(x, y, delta = NULL)
x |
An object of class miph. |
y |
A matrix of observations. |
delta |
Matrix with right-censoring indicators (1 uncensored, 0 right censored). |
A list containing the locations and corresponding density evaluations.
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.