Learn R Programming

jstable (version 0.9.2)

extractAIC.coxme: extractAIC.coxme: Extract AIC from coxme.object

Description

Extract AIC from coxme.object

Usage

# S3 method for 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

Run this code
# NOT RUN {
 library(coxme)
 fit <- coxme(Surv(time, status) ~ ph.ecog + age + (1|inst), lung)
 extractAIC(fit)
# }

Run the code above in your browser using DataLab