Description Usage Arguments Value Examples
Plotting data collections using ggplot
1 2 | ggplot_dclst(dc_lst, ylim = NULL, titleArr = names(dc_lst),
legendMode = "none", dfplot = ggplot_df)
|
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) |
Produces a plot to the active graphics device
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.