show.cgPairedDifferenceDescriptiveTable {cg}R Documentation

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

## S4 method for signature 'cgPairedDifferenceDescriptiveTable'
show(object)

Arguments

object

A cgPairedDifferenceDescriptiveTable object, typically created by
descriptiveTable.cgPairedDifferenceData.

Details

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

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.

Note

Contact cg@billpikounis.net for bug reports, questions, concerns, and comments.

Author(s)

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

See Also

cgPairedDifferenceDescriptiveTable, showDefault

Examples

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"))



[Package cg version 1.0-3 Index]