Show a Paired Difference Descriptive Table object from the cg package

Share:

Description

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

Usage

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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"))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.