Learn R Programming

cg (version 1.0-3)

show.cgOneFactorDescriptiveTable: Show a One Factor Descriptive Table object from the cg package

Description

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

Usage

"show"(object)

Arguments

object
A cgOneFactorDescriptiveTable object, typically created by descriptiveTable.cgOneFactorData.

Value

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

See Also

cgOneFactorDescriptiveTable, showDefault

Examples

Run this code
data(canine)
canine.data <- prepareCGOneFactorData(canine, format="groupcolumns",
                                      analysisname="Canine",
                                      endptname="Prostate Volume",
                                      endptunits=expression(plain(cm)^3),
                                      digits=1, logscale=TRUE, refgrp="CC")
show(descriptiveTable(canine.data, display="none"))

## Censored Data
data(gmcsfcens)
gmcsfcens.data <- prepareCGOneFactorData(gmcsfcens, format="groupcolumns",
                                         analysisname="cytokine",
                                         endptname="GM-CSF (pg/ml)",
                                         logscale=TRUE)
show(descriptiveTable(gmcsfcens.data, display="none"))

Run the code above in your browser using DataLab