Description Usage Arguments Details Value Note Author(s) See Also Examples
Creates a graph to see comparisons in a cgOneFactorComparisonsTable object
1 2 3 | ## S4 method for signature 'cgOneFactorComparisonsTable'
comparisonsGraph(compstable, cgtheme=TRUE, device="single",
wraplength = 20, cex.comps = 0.7, ...)
|
compstable |
A |
cgtheme |
When set to the default |
device |
Can be one of three values:
|
wraplength |
On the left hand axis are each A vs. B comparison label
from the |
cex.comps |
Similar to |
... |
Additional arguments. Two are currently valid:
|
The minimum and maximum values across all the bar ends
are added inside the plot region in
blue, flush against the x-axis. In two panel cases, there is a
tendency to fall outside the panel area even though right justified is
used for the adj parameter of functions like panel.text.
The number of decimal places are determined by the
digits and endptscale values in the compstable@settings slot.
comparisonsGraph.cgOneFactorComparisonsTable returns
an invisible NULL. The main purpose is the side
effect of graphing to the current device.
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 18 19 20 21 22 | 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)
## Comparisons Tables
canine.comps0 <- comparisonsTable(canine.fit)
canine.comps1 <- comparisonsTable(canine.fit, mcadjust=TRUE,
type="allgroupstocontrol", refgrp="CC")
## Comparisons Graphs
comparisonsGraph(canine.comps0)
comparisonsGraph(canine.comps1)
comparisonsGraph(canine.comps1, cex.comps=0.9,
ticklabels=list(mod="add", marks=c(300, 700)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.