ggplot_dclst: Plotting data collections using ggplot

Description Usage Arguments Value Examples

Description

Plotting data collections using ggplot

Usage

1
2
ggplot_dclst(dc_lst, ylim = NULL, titleArr = names(dc_lst),
  legendMode = "none", dfplot = ggplot_df)

Arguments

dc_lst

A list of data collections i.e. a list of lists of data.frames (see examples)

ylim

(optional) y-axis limits as [1,2] numeric, passed on to dfplot() as 'ylim'

titleArr

(optional) Plot column titles as [1, length(dc_lst)] string array

legendMode

(optional) Where to put legend, allowed values c('none','first','all')

dfplot

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

Value

Produces a plot to the active graphics device

Examples

1
2
3
4
5
6
## Not run: 
dc <- create_syn_data_toy()
ccr <- cocoreg(dc$data)
ggplot_dclst(list(d1 = dc$data, d2 = ccr$data, dn = dc$data))

## 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.