View source: R/combine_plots.R
combine_plots | R Documentation |
Combine all plots into a single plot using the cowplot package
combine_plots(
Plot_list = NULL,
out_file = NULL,
return_plot = FALSE,
width = 800,
height = 1000,
Title = "",
Xlab = "",
Ylab = "",
Title_size = 0,
Title_axis_size = 0,
by2cols = TRUE,
Ncol = 2,
Tiff = FALSE
)
Plot_list |
plots to combine. Can either be vector of character strings giving the names of plot objects or a list of plot objects. |
out_file |
filepath to save the plot |
return_plot |
logical argument. If TRUE, plot is returned and is not save to out_file |
width |
width of plot |
height |
height of plot |
Title |
plot title |
Xlab |
label for X axis |
Ylab |
label for Y axis |
Title_size |
size of title |
Title_axis_size |
size of x axis title |
by2cols |
logical argument. If true, forces plot to have 2 columns |
Ncol |
number of columns |
Tiff |
save plot in tiff format. Default is set to FALSE. If set to FALSE, the plot is saved in png format. Not applicable if return_plot is set to TRUE. |
plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.