Description Usage Arguments Details Author(s) References See Also Examples
Horizontal bar plot of compositional data
1 2 3 |
data |
Compositional data matrix or data frame with compositions in rows, parts in columns |
cols |
Colours of points for each part, default rainbow |
col.names |
Part names, if modified |
row.names |
Sample names, if modified |
order.column |
By default parts are taken in order of columns, but can be re-ordered using this option |
eps |
Small space between bars, can be modified |
main |
Heading |
ylab |
Vertical axis label |
ylim |
Vertical axis limits (default is the number of rows in data) |
xlim |
Horizontal axis limits (default c(0,100)) |
cex |
Character size scaling factor for labels |
truncate |
Truncate part (column) names to this number of characters for legend |
The function BAR
makes a BAR plot for specified groups of points, which can be in columns of a matrix or data frame.
Michael Greenacre
Greenacre, M. (2016), Data reporting and visualization in ecology, Polar Biology: 39, 2189-2205.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.