Description Usage Arguments Value Examples
Creates simple line plot with ggplot2.
1 |
x |
Values on x-axis if a vector. If it contains two columns, that it plots the first column on the x-axis, the second on the y-axis. |
y |
Optional values on the y-axis. |
Object of type ggplot
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.