Description Usage Arguments Value
Flexible way to plot multiple lines from a data frame
1 |
data |
A data frame |
x, y |
Variables to plot against each other |
line |
Variable to group data points into separate lines. If NULL (defaults), a single line is drawn per facet. |
alpha |
Baseline transparency of the lines. |
step |
Range of the noise in transparency across lines. Giving the lines different transparency values allows to plot many lines together on the same plot. Keep this parameter small to make the differences in transparency unnoticeable. |
color |
Color of the lines. Leave unspecified if you want to assign color as an aesthetics (do that outside the function). |
A ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.