df_ggplot_melt: Melt data.frame into ggplottable format

Description Usage Arguments Value Examples

Description

Melts a data.frame into format that is suitable for use with ggplot2. Creates the time variable 't' used by plotting functions.

Usage

1

Arguments

df

A data.frame

Value

A ggplot2 compatible data.frame with time variable

Examples

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)


Search within the cocoreg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.