Description Usage Arguments Author(s) See Also Examples
Fill area under line or plot.
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
Vector with values on x-axis. |
y |
Vector with values on y-axis. |
from |
A number indicating until which value on the y-axis the graph is colored. Defaults to 0. |
col |
Color for filling the area. Default is black. |
alpha |
Transparency of shaded area. Number between 0 (completely transparent) and 1 (not transparent). Default is .25. |
border |
A color, indicating the color of the border around shaded area. No border with value NA (default). |
na.rm |
Logical: whether or not to remove the missing values in
|
horiz |
Logical: whether or not to plot with respect to the x-axis (TRUE) or y-xis (FALSE). Defaults to TRUE. |
outline |
Logical: whether or not to draw the outline instead of only the upper border of the shape. Default is FALSE (no complete outline). |
... |
Optional arguments for the lines. See |
Jacolien van Rij
Other Functions for plotting:
addInterval()
,
add_bars()
,
add_n_points()
,
alphaPalette()
,
alpha()
,
check_normaldist()
,
color_contour()
,
dotplot_error()
,
drawDevArrows()
,
emptyPlot()
,
errorBars()
,
getCoords()
,
getFigCoords()
,
getProps()
,
gradientLegend()
,
legend_margin()
,
marginDensityPlot()
,
plot_error()
,
plot_image()
,
plotsurface()
,
sortBoxplot()
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.