I am trying to make a graph with three panels. I am trying to use the functions multi plot (of ggplot2) and grid.arrange of (of gridExtra). None of them work! How could I fix this problem???
multiplot(f1.1,f1.2,f1.3)
Error: could not find function "multiplot"
grid.arrange(f1.1,f1.2,f1.3)
Error: No layers in plot
Might I suggest installing the gridExtra package:
library(gridExtra)
arrangeGrob(f1.1, f1.2, f1.3)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With