Function to plot interval variables by rectangles. The bounds of the rectangles are given by the lower and upper bounds of the interval variables. To avoid precise observations to have a line-width of 0, small values are added to the upper and lower bounds what guarantees the rectangles (or lines or points) to be easily visible in the plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
In its most save way, |
y |
If used jointly with |
data |
If |
col |
The color of the rectangles. |
xlab |
A title for the x axis: see |
ylab |
A title for the y axis: see |
xlim |
Numeric vectors of length 2, giving the x coordinate ranges. |
ylim |
Numeric vectors of length 2, giving the y coordinate ranges. |
sort |
A character specifying how the values should be sorted if only one variable is to be plotted.
By default they are sorted according to their position in the data set.
|
... |
graphical parameters such as |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.