While
test <- do.call("arrangeGrob", c(plots.list[1:2],ncol=2,main=("test"))
works just fine,
test <- do.call("arrangeGrob", c(plots.list[1:2],ncol=2,main=textGrob("test")))
gives the following error:
"Error in arrangeGrob(list(grobs = list(list(x = 0.5, y = 0.5, width = 1, : input must be grobs!"
I need the main to be a textGrob in order to set font size and font face. Anyone has an idea what I am doing wrong?