| print.cgOneFactorGrpSummaryTable {cg} | R Documentation |
Print One Factor Group Summary Table object with some format options
Description
Print a cgOneFactorGrpSummaryTable object, which contains a
table of group means and variability based on the cgOneFactorFit
object.
Usage
## S4 method for signature 'cgOneFactorGrpSummaryTable'
print(x, digits = NULL, title = NULL, endptname = NULL, ...)
Arguments
x |
An |
digits |
The number of decimal places to use in the output. If |
title |
The title printed out with the table.
If |
endptname |
The endpoint name, printed out with the table.
If |
... |
Additional arguments. Only one is currently valid:
For other possible |
Details
The object is printed using a mix of cat and print
calls. See cgOneFactorGrpSummaryTable
for details of the *.grps and other object slots.
Value
print.cgOneFactorGrpSummaryTable returns
invisible. The main purpose is the side
effect of printing 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
Examples
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)
canine.grpsumm <- grpSummaryTable(canine.fit)
print(canine.grpsumm, digits=2)