getBestModel: Output the model distribution with the lowest AIC

Description Usage Arguments Details Value

View source: R/lifeTable.R

Description

Output the model distribution with the lowest AIC

Usage

1
getBestModel(object)

Arguments

object

(SurvivalModel)

Details

If armAsFactor is FALSE and separate models are fitted then for each distribution calculate the sum of the AIC and returns the distribution with the lowest sum of AIC

Value

The name of the model with the lowest AIC


scientific-computing-solutions/sibyl documentation built on May 21, 2019, 8:40 a.m.