Learn R Programming

cg (version 1.0-3)

show.cgPairedDifferenceDescriptiveTable: Show a Paired Difference Descriptive Table object from the cg package

Description

Show a cgPairedDifferenceDescriptiveTable object, which contains a table of quantiles and other summary statistics of the data from a cgPairedDifferenceData object.

Usage

"show"(object)

Arguments

object
A cgPairedDifferenceDescriptiveTable object, typically created by descriptiveTable.cgPairedDifferenceData.

Value

show.cgPairedDifferenceDescriptiveTable 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 cgPairedDifferenceDescriptiveTable for details of the object slots.

See Also

cgPairedDifferenceDescriptiveTable, 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
descriptiveTable(anorexiaFT.data, display="show")

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


Run the code above in your browser using DataLab