save_plot | R Documentation |
This utility function saves individual plots of a plotlist of ggplot objects
using ggplot2 function ggsave
.
save_plot(plotlist, sub_dir = "plot", scale = 1, px = 80, py = 80)
plotlist |
A list of length k containing ggplot objects of power plots. |
sub_dir |
Sub directory to save plot to. |
scale |
Multiplicative scaling factor used in |
px |
Plot size in "mm". Default = 80 mm. |
py |
Plot size in "mm". Default = 80 mm. |
A list of results.
call |
The matched call. |
none
MCboot
, MCplot
and MCplot_crit
## Not run: # res <- MCplot_simdata_ext(npers = c(10,20, 30, 50), k=14, nstats = "sqs", xlim = 4, tcolor = TRUE) res <- save_plot(plotlist = res$plotlist, sub_dir = "plot_k=14") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.