Reorders a nested list of ggplots

Share:

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

1

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

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