Learn R Programming

Kmisc (version 0.5.0)

kAnova: Nicely Formatted ANOVA Table

Description

Returns a nicely formatted ANOVA table. See kCoef for other details.

Usage

kAnova(fit, test = "LRT", swap.periods = TRUE)

Arguments

fit
the model fit to generate an ANOVA table for.
test
the type of test to perform. default is likelihood-ratio test (LRT).
swap.periods
swap periods with spaces?

Examples

Run this code
x <- rnorm(100)
y <- ifelse( x + runif(100) > 1, 1, 0 )
myFit <- glm( y ~ x, family="binomial" )
kAnova( myFit )

Run the code above in your browser using DataLab