| print.cgOneFactorGlobalTest {cg} | R Documentation |
Print One Factor Global F-test object with some format options
Description
Print a cgOneFactorGlobalTest object, which contains global
F-test p-value information taken from a cgOneFactorFit
object.
Usage
## S4 method for signature 'cgOneFactorGlobalTest'
print(x, title = NULL, endptname = NULL, ...)
Arguments
x |
An |
title |
The title printed out with the p-value.
If |
endptname |
The endpoint name, printed out with the p-value.
If |
... |
Additional arguments. Only one is currently valid:
For other possible |
Details
The smallest actual p-value that will be printed is 0.001. Anything
less than 0.001 will be displayed as < 0.001. If you
need more digits, see the cgOneFactorGlobalTest object.
The notion of a global F test, or equivalently, of R^2,
for resistant & robust linear models is
murky, as no clear theoretical analogue to the ordinary classical
least squares approach exists. See cgOneFactorGlobalTest
for details, and regard the output p-value here as ad-hoc.
The object is printed using a mix of cat and print
calls. See cgOneFactorGlobalTest
for details of the *.gpval and other object slots.
Value
print.cgOneFactorGlobalTest 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.global <- globalTest(canine.fit)
print(canine.global)