createIcTable-methods: Method to create to create the information criteria table

Description Usage Arguments Value

Description

Method to create to create the information criteria table

Usage

1
2
3
4
5
createIcTable(object, ...)

## S4 method for signature 'SurvivalModel'
createIcTable(object, summaryFn = c("sum",
  "identity")[1], class = c("data.frame", "FlexTable")[2], digits = 2)

Arguments

object

SurvivalModel object

...

additional arguments for the generic

summaryFn

("sum" or "identity") if "sum" the AIC and BIC are summed over each arm producing a single value per model, it "identity" then the AIC and BIC are output for each arm separately

class

('data.frame' or (default) 'FlexTable') whether to output a data frame or FlexTable

digits

(numeric default 2) The number of decimal places to round the AIC/BIC to

Value

A table contain the AIC and BIC for each model


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