PrettyBarPlotColor4Q | R Documentation |
PrettyBarPlotColor4Q
Plot the result of Cochran's Q for the columns of a CATA
table of data.PrettyBarPlotColor4Q
:
Plot the result of Cochran's Q for the columns
of a CATA
table of data along with the critical value (user provided)
NB: This version is temporary and will likely be rewriten
(see PrettybarPlot2
for a ggplot2
-based
equivalent function).
PrettyBarPlotColor4Q( bootratio, threshold, ylim = NULL, color4bar = "darkorchid4", color4ns = "gray75", PrintSignificantOnly = TRUE, plotnames = TRUE, main = NULL, ylab = NULL )
bootratio |
the Q values to be plotted |
threshold |
(no default) Treshold for significance, Q > threshold are plotted in gray |
ylim |
the lower and upper limits for the y-axis if NULL (default) set to c(-max(abs(y)) , max(abs(y)) ) |
color4bar |
the colors for the items (default is 'darkorchid4') |
color4ns |
the color for a non significant item (default is 'gray75') |
PrintSignificantOnly |
when |
plotnames |
when |
main |
a title for the plot (default is |
ylab |
a label for the y axis (default is |
Hervé Abdi
PrettyBarPlot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.