Description Usage Arguments Examples
Function call is redirected to ggplot2
in order to plot the argument.
1 2 |
x |
Object of type |
... |
Further arguemnts passed on to |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | library(ggplot2)
df <- data.frame(x = 1:20,
y = 1:20,
z = as.factor(rep(1:4, each = 5)))
ggplot(df) +
geom_line(aes(x = x, y = y, color = z))
jplot(df) +
geom_line(aes(x = x, y = y, color = z))
ggplot(df) +
geom_point(aes(x = x, y = y, color = z))
jplot(df) +
geom_point(aes(x = x, y = y, color = z))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.