Learn R Programming

cg (version 1.0-3)

showObj.cgPairedDifferenceFit: Show a Fitted Model object from the cg package

Description

Show the raw form of a cgPairedDifferenceFit object, which contains model fit information.

Usage

"showObj"(object)

Arguments

object
A cgPairedDifferenceFit object.

Value

showObj.cgPairedDifferenceFit 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 cgPairedDifferenceFit for details of the object slots.

The name showObj is designed for use for cases like this when the coventional show name is an alias for print.

See Also

cgOneFactorFit, cgPairedDifferenceFit, 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(data=anorexiaFT.data, type="rr")	

showObj(anorexiaFT.fit)

show(anorexiaFT.fit) ## alias for print method on the object 

Run the code above in your browser using DataLab