marginal-shared-method: Marginal method for shared frailty class

marginal,shared-methodR Documentation

Marginal method for shared frailty class

Description

Marginal method for shared frailty class

Usage

## S4 method for signature 'shared'
marginal(x, mar = 1)

Arguments

x

An object of class shared.

mar

Indicator of which marginal.

Value

An object of the of class frailty.

Examples

ph_obj <- phasetype(structure = "coxian")
shared_obj <- shared(ph_obj, bhaz1 = "weibull", bhaz_pars1 = 3, bhaz2 = "weibull", bhaz_pars2 = 2)
marginal(shared_obj, 1)

jorgeyslas/phfrailty documentation built on April 17, 2025, 4:11 p.m.