Description Usage Arguments Value Examples
Melts a data.frame into format that is suitable for use with ggplot2. Creates the time variable 't' used by plotting functions.
1 |
df |
A data.frame |
A ggplot2 compatible data.frame with time variable
1 2 3 4 5 6 7 | ## Not run:
dc <- create_syn_data_toy()
df <- dc$data[[1]]
str(df)
str(df_ggplot_melt(df))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.