Learn R Programming

cyclomort (version 1.0.2)

summary.cmfactorfit: Summary method for cyclomort factorial fit

Description

Summary method for cyclomort factorial fit

Usage

# S3 method for cmfactorfit
summary(object, ..., coefs = FALSE)

Arguments

object

a cmfactorfit object - the output of factorfit_cyclomort.

...

(not implemented)

coefs

whether or not to report the individual summaries of each model component along with the statistical test results

Value

a table comparing log-likelihood and AIC between null and multi-factor model, and a p-value from likelihood ratio test, optionally combined with the individual model summaries.

Examples

Run this code
# NOT RUN {
# fit factorial model
data(seasonalsex)
seasonalsex.factorfit <- factorfit_cyclomort(event ~ sex, data = seasonalsex, n.seasons = 1)

# summary
summary(seasonalsex.factorfit, coefs = TRUE)
# }
# NOT RUN {
plot(seasonalsex.factorfit)
# }

Run the code above in your browser using DataLab