Skip to contents

Extract AIC from coxme.object

Usage

# S3 method for class 'coxme'
extractAIC(fit, scale = NULL, k = 2, ...)

Arguments

fit

coxme.object

scale

NULL

k

numeric specifying the 'weight' of the equivalent degrees of freedom (=: edf) part in the AIC formula.

...

further arguments (currently unused in base R).

Value

AIC(Integreted, Penalized)

Details

DETAILS

Examples

library(coxme)
fit <- coxme(Surv(time, status) ~ ph.ecog + age + (1 | inst), lung)
extractAIC(fit)
#> Integrated  Penalized 
#>   13.29119   15.68780