PrettyBarPlotColor | R Documentation |
PrettyBarPlotColor
: create pretty bar plots
with defined colors for the sigificant columnsPrettyBarPlotColor
: Create pretty bar plots
with defined colors for the sigificant columns.
NB PrettyBarPlotColor
is a variation over
prettyBarPlot
.
PrettyBarPlotColor( bootratio, threshold = 2, ylim = NULL, color4bar, color4ns = "gray75", plotnames = TRUE, main = NULL, ylab = NULL )
bootratio |
the bootstrap ratios (BR) to be plotted (typically obtained from Boot4PTCA). |
threshold |
critical.value. The critical value for significance (default = 2, which matches a $p < .05$ significance level) |BR| < threshold are plotted in gray. |
ylim |
a 2-element vector giving min and mac for y
if |
color4bar |
a vector of color names (same dimension as BR) |
color4ns |
(default is |
plotnames |
if |
main |
(default is |
ylab |
(default is |
PrettyBarPlot2
,
is a newer ggplot2
-based plotting function
that can be used
in lieu of PrettyBarPlotColor
.
A list: 1) ylim
min and max for y,
and 2) threshold.
Hervé Abdi
Vincnet Guillemeot, Hervé Abdi. # @examples # PrettyBarPlotColor(boot.ratio.test, color4BR)
PrettyBarPlot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.