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

Description Usage Arguments Details Value Examples

View source: R/coxme.R

Description

Extract AIC from coxme.object

Usage

1
2
## 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).

Details

DETAILS

Value

AIC(Integreted, Penalized)

Examples

1
2
3
 library(coxme)
 fit <- coxme(Surv(time, status) ~ ph.ecog + age + (1|inst), lung)
 extractAIC(fit)

Example output

Registered S3 methods overwritten by 'lme4':
  method                          from
  cooks.distance.influence.merMod car 
  influence.merMod                car 
  dfbeta.influence.merMod         car 
  dfbetas.influence.merMod        car 
Loading required package: survival
Loading required package: bdsmatrix

Attaching package:bdsmatrixThe following object is masked frompackage:base:

    backsolve

Integrated  Penalized 
  13.29119   15.68780 

jstable documentation built on Oct. 19, 2021, 5:07 p.m.