Plot method for the class 'global_envelope'
# S3 method for global_envelope
plot(x, plot_style = c("ggplot2", "fv",
"basic"), dotplot = length(x$r) < 10, main, ylim, xlab, ylab,
color_outside = TRUE, env.col = 1, base_size = 15, labels = NULL,
add = FALSE, digits = 3, legend = TRUE, ...)An 'global_envelope' object
One of the following "basic", "fv" or "ggplot2".
The option "basic" (default) offers a very basic global envelope plot.
The option "fv" utilizes the plot routines of the function value table fv.object.
For "ggplot2", a plot with a coloured envelope ribbon is provided. Requires R library ggplot2.
The option "fv" is currently only available for tests with one test function, whereas the other true allow
also tests with several tests functions.
Logical. If TRUE, then instead of envelopes a dot plot is done.
Suitable for low dimensional test vectors. Only applicable if plot_style is "basic".
Default: TRUE if the dimension is less than 10, FALSE otherwise.
See plot.default. A sensible default exists.
See plot.default. A sensible default exists.
See plot.default. A sensible default exists.
See plot.default. A sensible default exists.
Logical. Whether to color the places where the data function goes
outside the envelope. Currently red color is used. Relevant only for plot_style = "basic".
The color for the envelope lines (or dotplot arrows). Default 1 (black).
Base font size, to be passed to theme style when plot_style = "ggplot2".
A character vector of suitable length.
If dotplot = TRUE, then labels for the tests at x-axis.
Whether to add the plot to an existing plot (TRUE) or to draw a new plot (FALSE).
Not available for plot_style = "ggplot2".
The number of digits used for printing the p-value or p-interval in the main, if using the default main.
Logical. If FALSE, then the legend is removed from the "ggplot2" style plot.