Learn R Programming

cocoreg (version 0.1.1)

nplst_reorder_grid: Reorders a nested list of ggplots

Description

Reorders a nested list of ggplots to ncol columns prior to calling grid.arrange() Note: p_list is a list of lists of ggplots. p_list = list(p_list1, p_list2,...)

Usage

nplst_reorder_grid(p_list, ncol)

Arguments

p_list
A list of lists of ggplots
ncol
Target number of columns, integer value

Value

A reordered and flattened version of input list as a list of ggplot2 objects