Description Usage Arguments Details Value Note Author(s) Examples
Print a cgOneFactorComparisonsTable
object, which contains a
table of comparisons based on the cgOneFactorFit
object.
1 2 |
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 |
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 cgOneFactorComparisonsTable
object.
The object is printed using a mix of cat
and print
calls. See cgOneFactorComparisonsTable
for details of the *.comprs
and other object slots.
print.cgOneFactorComparisonsTable
returns
invisible
. The main purpose is the side
effect of printing to the current output connection, which is
typically the console.
Contact cg@billpikounis.net for bug reports, questions, concerns, and comments.
Bill Pikounis [aut, cre, cph], John Oleynick [aut], Eva Ye [ctb]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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.comps0 <- comparisonsTable(canine.fit)
print(canine.comps0, digits=1)
canine.comps1 <- comparisonsTable(canine.fit, mcadjust=TRUE,
type="allgroupstocontrol", refgrp="CC")
print(canine.comps1, model="olsonly")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.