View source: R/aux_ggplot_table.R
ggplot_table | R Documentation |
ggplot2
Creates suitable table for ggplot2
ggplot_table(df, l_color, l_type, l_size, l_legend = NULL)
df |
data frame with class Date or POSIXct in the first column and the variables to plot on the others. |
l_color |
string vector with a color for each line (data frame column). |
l_type |
string vector with the line type. |
l_size |
numeric vector with the line size. |
l_legend |
string vector with the user name for legend labels. |
A data frame ready to use in ggplot2
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.