getAIC-methods: Methods for function 'getAIC'

Description Usage Arguments Value Methods Examples

Description

Methods for function getAIC extracting the Akaike information criterion of the fitted model object from class cold.

Usage

1
2
## S4 method for signature 'cold'
getAIC(object)

Arguments

object

an object of class cold.

Value

Returns a numeric value corresponding to the AIC of the fitted model.

Methods

getAIC

signature(object="cold"): Returns a numeric value corresponding to the AIC of the fitted model.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#####  data = seizure

### AR1
seiz1M <- cold(y ~ lage + lbase + v4 + trt + trt:lbase, data = seizure, 
start = NULL, dependence = "AR1")

getAIC(seiz1M)

### indR
seiz0R <- cold(y ~ lage + lbase + trt + trt:lbase + v4, random = ~ 1,
        data = seizure, dependence = "indR")

getAIC(seiz0R)

cold documentation built on Aug. 25, 2021, 5:06 p.m.