Description Usage Arguments Details Value Note Author(s) See Also Examples
Creates a sorted bar plot with vertical or horizontal bars.
1 2 3 4 5 6 7 |
height |
either a vector or matrix of values describing the
bars which make up the plot. See |
horiz |
boolean. Arrange bars horizontally. |
sort_by |
a variable to sort by. Defaults to |
decreasing |
boolean. Sorting direction. |
lowtrim |
A optional lower trim value. Observations with |
hightrim |
A optional upper trim value. Observations with |
trimlegend |
Boolean. Show a legend about trimmed values. |
col |
a vector of colors for the bars or bar components.
By default, grey is used if |
coli |
An index into the |
colfun |
A function or function name to generate a |
main |
overall title for the plot |
... |
Passed to |
If no names are supplied, they are generated in the form x...
You man want to adjust the scale of the bar labels by using an additional argument such as cex.names =0.5
.
More to come. Plots are among others from this collection:
Invisible: A data frame with components
|
height |
|
the permutation applied |
coli |
the colour index applied |
col |
optional: the colours selected |
Part of this could go to the R base function barplot
.
Günther Sawitzki <gsawitzki@users.r-forge.r-project.org>
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.