Learn R Programming

cocoreg (version 0.1.1)

ggplot_dclst: Plotting data collections using ggplot

Description

Plotting data collections using ggplot

Usage

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

Run this code
## Not run: ------------------------------------
# dc <- create_syn_data_toy()
# ccr <- cocoreg(dc$data)
# ggplot_dclst(list(d1 = dc$data, d2 = ccr$data, dn = dc$data))
## ---------------------------------------------

Run the code above in your browser using DataLab