Learn R Programming

cg (version 1.0-3)

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

Description

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

Usage

"showObj"(object)

Arguments

object
A cgOneFactorFit object.

Value

showObj.cgOneFactorFit 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 cgOneFactorFit 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, 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")
canine.fit <- fit(canine.data)

showObj(canine.fit)

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

Run the code above in your browser using DataLab