R/Arrange Cowplot.R

Defines functions ArrangeCowplot ArrangePatchwork

# Arrange Cowplot

ArrangePatchwork <- function(PlotList){

  Plot <- PlotList[[1]]

  for(i in 2:length(PlotList)){

    Plot <- Plot + PlotList[[i]]

  }

  return(Plot)

}

ArrangeCowplot <- function(PlotList){

  Plot <- PlotList[[1]]

  for(i in 2:length(PlotList)){

    Plot <- Plot + PlotList[[i]]

  }

  return(Plot)

}
gfalbery/ggregplot documentation built on Feb. 4, 2025, 3:17 a.m.