Plot a list of data.frames using ggplot2

Share:

Description

Plot a list of data.frames using ggplot2

Usage

1
ggplot_dflst(dflst, ncol = 1, plot = T, plotfun = ggplot_df, ...)

Arguments

dflst

A list of datasets as a list of data.frames

ncol

(optional) Number of columns in final plot

plot

(optional) Plot or not: if TRUE produces a plot else returns a list of ggplot objects

plotfun

(optional) Function used to plot a data.frame (one panel in final plot)

...

(optional) Additional parameters passed on to plotfun

Value

Produces a plot to the active graphics device or returns a list of ggplot objects

Examples

1
2
3
4
5
## Not run: 
dc <- create_syn_data_toy()
ggplot_dflst(dc$data)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.