An internal spptest function for making a ggplot2 style "global envelope plot".
1 2 | env_ggplot(x, base_size, main, ylim, xlab, ylab, separate_yaxes = FALSE,
max_ncols_of_plots = 2, labels = NULL)
|
x |
An 'envelope_test' object. |
base_size |
Base font size, to be passed to theme style when |
main |
See |
ylim |
See |
xlab |
See |
ylab |
See |
separate_yaxes |
Logical (default FALSE). By default also the combined envelope plots have a common y-axis. If TRUE, then separate y-axes are used for different parts of a combined test. |
max_ncols_of_plots |
If separate_yaxes is TRUE, then max_ncols_of_plots gives the maximum number of columns for figures. Default 2. |
labels |
Labels for the separate plots. Ignored if separate_yaxes is FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.