marginal,shared-method | R Documentation |
Marginal method for shared frailty class
## S4 method for signature 'shared'
marginal(x, mar = 1)
x |
An object of class shared. |
mar |
Indicator of which marginal. |
An object of the of class frailty.
ph_obj <- phasetype(structure = "coxian")
shared_obj <- shared(ph_obj, bhaz1 = "weibull", bhaz_pars1 = 3, bhaz2 = "weibull", bhaz_pars2 = 2)
marginal(shared_obj, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.