Description Usage Arguments Value Note See Also Examples
ibar
method creates an interactive bar chart
1 2 3 |
x |
factor to plot |
xname |
name of the x variable |
... |
further optional arguments |
window |
window in which the plot will be placed. If not specified the plot will create a new window and fill it with itself. |
frame |
optional numeric vector with entries c(x, y, width, height) |
flags |
optional flags specifying the behavior when the enclosing window is resized |
Returns an object of class iBarchart
(a subclass of
iPlot
). This object it can be used to modify the parameters of
the plot, to iteract with the plot and to add other components to the
plot.
It is possible to switch between barchart and spineplot using the
S
keyboard key or the spines
virtual attribute
(TRUE
for spineplot, FALSE
for barchart).
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.