Learn R Programming

cg (version 1.0-3)

show.cgPairedDifferenceCorrelationTable: Show a Paired Difference Correlation Table object from the cg package

Description

Show a cgPairedDifferenceCorrelationTable object, which contains a table of correlations of the data from a cgPairedDifferenceData object.

Usage

"show"(object)

Arguments

object
A cgPairedDifferenceCorrelationTable object, typically created by correlationTable.cgPairedDifferenceData.

Value

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

Details

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

See Also

cgPairedDifferenceCorrelationTable, 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)

## Next two calls are equivalent
correlationTable(anorexiaFT.data, display="show")

show(correlationTable(anorexiaFT.data, display="none"))


Run the code above in your browser using DataLab