Parameter Description: Grid (Output Specification Of Multiple Plots)
An integer value specifying the output of multiple plots.
By default (1
) a list of ggplot
objects will be returned.
If a grid
value > 1 was specified, a grid plot will be returned
if the number of plots is <= specified grid
value;
a list of ggplot
objects will be returned otherwise.
If grid = 0
is specified, all plots will be created using print
command
and a list of ggplot
objects will be returned invisible.
Note that one of the following packages must be installed to create a grid plot:
'ggpubr', 'gridExtra', or 'cowplot'.