MatthiasPucher / staRdom

staRdom is a package for R to analyse fluorescence and absorbance data of dissolved organic matter (DOM).
21 stars 2 forks source link

Set number of rows in eem_overview_plot #7

Closed MatthiasPucher closed 4 years ago

MatthiasPucher commented 4 years ago

Currently, setting the number of rows is not implemented in eem_overview_plot itself. I will add this in the near future.

So far, you can use something like that to produce a desired number of rows, 2 in this case: require(staRdom) require(tidyr)

eem_overview_plot(eem_list, spp = 8) %>% lapply(function(plot){ plot + facet_wrap(~sample, nrow = 2) })

MatthiasPucher commented 4 years ago

Done!