globalTest {cg} | R Documentation |
Perform a global test of significance
Description
Generic function to perform a global test of significance on a fit by the cg package.
Usage
globalTest(fit, display="print", ...)
Arguments
fit |
A fit object created by a |
display |
One of three valid values:
|
... |
Additional arguments, depending on the specific method written for the object. See the method-specific documentation for additional details. |
Value
A method-specific globalTest
object is returned.
See the specific methods for discussion of return values.
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.globalTest <- globalTest(canine.fit)
data(gmcsfcens)
gmcsfcens.data <- prepareCGOneFactorData(gmcsfcens, format="groupcolumns",
analysisname="cytokine",
endptname="GM-CSF (pg/ml)",
logscale=TRUE)
gmcsfcens.fit <- fit(gmcsfcens.data, type="aft")
gmcsfcens.globalTest <- globalTest(gmcsfcens.fit)