dens,correlated-method | R Documentation |
Density method for correlated phase-type frailty models
## S4 method for signature 'correlated'
dens(x, y, X = numeric(0))
x |
An object of class correlated. |
y |
A matrix of locations. |
X |
A matrix of covariates. |
A vector containing the joint density evaluations at the given locations.
bivph_obj <- bivphasetype(dimensions = c(3, 3))
cobj <- correlated(bivph_obj, bhaz1 = "weibull", bhaz_pars1 = 3, bhaz2 = "weibull", bhaz_pars2 = 2)
dens(cobj, matrix(c(1, 2), ncol = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.