Learn R Programming

GET (version 0.1-8)

plot.combined_global_envelope: Plot method for the class 'combined_global_envelope'

Description

This function provides plots for combined global envelopes.

Usage

# S3 method for combined_global_envelope
plot(
  x,
  main,
  ylim = NULL,
  xlab,
  ylab,
  env.col = 1,
  color_outside = TRUE,
  sign.col = "red",
  base_size = 11,
  labels = NULL,
  add = FALSE,
  digits = 3,
  level = 1,
  ncol = 2 + 1 * (length(x) == 3),
  nticks = 5,
  legend = TRUE,
  ...
)

Arguments

x

An 'combined_global_envelope' object

main

See plot.default. A sensible default exists.

ylim

See plot.default. A sensible default exists.

xlab

See plot.default. A sensible default exists.

ylab

See plot.default. A sensible default exists.

env.col

The color for the envelope lines (or dotplot arrows) for 1d functions. Default 1 (black).

color_outside

Logical. Whether to color the places where the data function goes outside the envelope. Relevant only for 1d functions.

sign.col

The color for the significant regions. Default to "red".

base_size

Base font size, to be passed to theme style when plot_style = "ggplot2".

labels

A character vector of suitable length. If dotplot = TRUE (for the level 2 test), then labels for the tests at x-axis. Otherwise labels for the separate plots.

add

Whether to add the plot to an existing plot (TRUE) or to draw a new plot (FALSE). Not available for plot_style = "ggplot2".

digits

The number of digits used for printing the p-value or p-interval in the main, if using the default main.

level

1 or 2. In the case of two-step combined tests (with several test functions), two different plots are available: 1 for plotting the combined global envelopes (default and most often wanted) or 2 for plotting the second level test result.

ncol

The maximum number of columns for the figures. Default 2 or 3, if the length of x equals 3. (Relates to the number of curve_sets that have been combined.)

nticks

The number of ticks on the xaxis.

legend

Logical. If FALSE, then the legend is removed from the "ggplot2" style plot.

...

Additional parameters to be passed to plot or lines.

Details

Plotting method for the class 'combined_global_envelope', i.e. combined envelopes for 1d functions.

See Also

central_region