comparisonsGraph {cg} | R Documentation |
Graph comparisons specified amongst groups
Description
Generic function to create a Comparisons Graph based on a Comparisons Table created in turn by the cg package.
Usage
comparisonsGraph(compstable, cgtheme=TRUE, device="single",
wraplength=20, cex.comps=0.7, ...)
Arguments
compstable |
A |
cgtheme |
When set to the default |
device |
Can be one of three values:
|
wraplength |
On the left hand vertical axis are each A vs. B comparison label
from the |
cex.comps |
Similar to |
... |
Additional arguments, depending on the specific method written for
the |
Value
The main purpose is the side effect of graphing to the current device. See the specific methods for discussion of any 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
comparisonsGraph.cgOneFactorComparisonsTable
Examples
#### One Factor data
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.comps1 <- comparisonsTable(canine.fit, mcadjust=TRUE,
type="allgroupstocontrol", refgrp="CC")
comparisonsGraph(canine.comps1)