Description Usage Arguments Details Examples
A barchart in the style of a HP bar.
1 2 |
data |
data.frame. |
names |
column name of names to use in the plot. |
values |
column name of values to plot. |
sort.names |
order names according to value (TRUE, default) or not (FALSE). |
init.size |
size of the healthbar. See details. |
cuts |
numeric vector of length 3. See details. |
init.size
controls the height of the bar. The more names are used, the smaller
the value should be. The values in cuts
should be decreasing in the interval (0,1).
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.