Learn R Programming

ordinalCont (version 0.4)

print.anova.ocm: Print anova.ocm objects

Description

Print the results of the comparison of continuous ordinal models in likelihood ratio tests.

Usage

"print"(x, digits = max(getOption("digits") - 2, 3), signif.stars = getOption("show.signif.stars"), ...)

Arguments

x
an object of class anova.ocm
digits
controls the number of digits to print. Defaults to the maximum of the value returned by (getOption("digits") - 2) and 3
signif.stars
a logical. Should the significance stars be printed? Defaults to the value returned by getOption("show.signif.stars")
...
further arguments passed to or from other methods

Value

Prints anova.ocm object

See Also

ocm, anova.ocm

Examples

Run this code
ANZ0001.ocm <- ANZ0001[ANZ0001$cycleno==0 | ANZ0001$cycleno==5,]
ANZ0001.ocm$cycleno[ANZ0001.ocm$cycleno==5] <- 1
fit.overall  <- ocm(overall  ~ cycleno + bsa + treatment, data=ANZ0001.ocm)
anova(fit.overall, update(fit.overall, .~. + age))

Run the code above in your browser using DataLab