Learn R Programming

cg (version 1.0-3)

show.cgPairedDifferenceDownweightedTable: Show a Paired Difference Downweighted Table object from the cg package

Description

Show a cgPairedDifferenceDownweightedTable object, which contains information of downweighted observations in a resistant & robust fit from a cgPairedDifferenceFit object.

Usage

"show"(object)

Arguments

object
A cgPairedDifferenceDownweightedTable object, typically created by downweightedTable.cgPairedDifferenceFit.

Value

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

See Also

cgPairedDifferenceDownweightedTable, 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)
anorexiaFT.fit <- fit(anorexiaFT.data)
show(downweightedTable(anorexiaFT.fit, cutoffwt=0.25, display="none"))

Run the code above in your browser using DataLab