summary.cmfitlist: Summary method for cmfitlist objects

Description Usage Arguments Value Examples

View source: R/summary_cmfitlist.R

Description

Summary method for cmfitlist objects

Usage

1
2
## S3 method for class 'cmfitlist'
summary(object, ..., coefs = TRUE)

Arguments

object

a cmfitlist object - output of select_seasons

...

(currently not implemented)

coefs

whether or not to return model coefficients along with statistic test table.

Value

a data frame describing the AIC, log-likelihood, number of parameters and parameter estimates for each model

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
T.morts1 <- simulate_cycloSurv(1000, period = 1, 
                             meanhazard = 0.3, 
                             peaks = c(0.25, 0.75), 
                             durations = c(0.2, 0.1), 
                             weights = c(0.3, 0.7), 
                             plotme = FALSE)


model_selection = select_seasons(T.morts1, max.season = 4)
summary(model_selection$fits)

cyclomort documentation built on Aug. 20, 2020, 5:06 p.m.