Learn R Programming

cg (version 1.0-3)

show.cgOneFactorGlobalTest: Show a Global Test object from the cg package

Description

Show a cgOneFactorGlobalTest object, which contains p-value information from a cgOneFactorFit object.

Usage

# S4 method for cgOneFactorGlobalTest
show(object)

Value

show.cgOneFactorGlobalTest returns invisible. The main purpose is the side effect of printing the whole object to the current output connection, which is typically the console.

Arguments

object

A cgOneFactorGlobalTest object, typically created by
globalTest.cgOneFactorFit.

Author

Bill Pikounis [aut, cre, cph], John Oleynick [aut], Eva Ye [ctb]

Details

The object is shown using showDefault. See cgOneFactorGlobalTest for details of the object slots.

See Also

cgOneFactorGlobalTest, showDefault

Examples

Run this code
data(canine)
canine.data <- prepareCGOneFactorData(canine, format="groupcolumns",
                                      analysisname="Canine",
                                      endptname="Prostate Volume",
                                      endptunits=expression(plain(cm)^3),
                                      digits=1, logscale=TRUE, refgrp="CC")
canine.fit <- fit(canine.data)
globalTest(canine.fit, display="show")
show(globalTest(canine.fit, display="none"))

Run the code above in your browser using DataLab