Show a Fitted Model object from the cg package

Share:

Description

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

Usage

1
2
## S4 method for signature 'cgOneFactorFit'
showObj(object)

Arguments

object

A cgOneFactorFit object.

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.

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.

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

cgOneFactorFit, showDefault

Examples

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

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