Description Usage Arguments Details Value Note Author(s) See Also Examples
Creates a graph to see comparisons in a cgPairedDifferenceComparisonsTable object
1 2 3 | ## S4 method for signature 'cgPairedDifferenceComparisonsTable'
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 the bar ends
are added inside the plot region in blue, flush against the x-axis.
The number of decimal places are determined by the
digits
and endptscale
values in the compstable@settings
slot.
comparisonsGraph.cgPairedDifferenceComparisonsTable
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]
cgPairedDifferenceComparisonsTable
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(anorexiaFT)
anorexiaFT.data <- prepareCGPairedDifferenceData(anorexiaFT, format="groupcolumns",
analysisname="Anorexia FT",
endptname="Weight",
endptunits="lbs",
expunitname="Patient",
digits=1,
logscale=TRUE)
anorexiaFT.fit <- fit(anorexiaFT.data)
anorexiaFT.comps0 <- comparisonsTable(anorexiaFT.fit)
anorexiaFT.comps1 <- comparisonsTable(anorexiaFT.fit, model="olsonly", display="none")
comparisonsGraph(anorexiaFT.comps0)
comparisonsGraph(anorexiaFT.comps1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.