Learn R Programming

cg (version 1.0-3)

show.cgPairedDifferenceVarianceTable: Show a Paired Difference Variance Table object from the cg package

Description

Show a cgPairedDifferenceVarianceTable object, which contains a table of variances from a cgPairedDifferenceFit object.

Usage

# S4 method for cgPairedDifferenceVarianceTable
show(object)

Value

show.cgPairedDifferenceVarianceTable 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 cgPairedDifferenceVarianceTable object, typically created by
varianceTable.cgPairedDifferenceFit.

Author

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

Details

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

See Also

cgPairedDifferenceVarianceTable, showDefault

Examples

Run this code
data(anorexiaFT)
anorexiaFT.data <- prepareCGPairedDifferenceData(anorexiaFT, format="groupcolumns",
                                                 analysisname="Anorexia FT",
                                                 endptname="Weight",
                                                 endptunits="lbs",
                                                 expunitname="Patient",
                                                 digits=1,
                                                 logscale=TRUE)
anorexiaFT.fit <- fit(anorexiaFT.data)

## Next two calls are equivalent
varianceTable(anorexiaFT.fit, display="show")

show(varianceTable(anorexiaFT.fit, display="none"))


Run the code above in your browser using DataLab