env_ggplot: An internal spptest function for making a ggplot2 style...

Description Usage Arguments

Description

An internal spptest function for making a ggplot2 style "global envelope plot".

Usage

1
2
env_ggplot(x, base_size, main, ylim, xlab, ylab, separate_yaxes = FALSE,
  max_ncols_of_plots = 2, labels = NULL)

Arguments

x

An 'envelope_test' object.

base_size

Base font size, to be passed to theme style when use_ggplot2 = TRUE.

main

See plot.default.

ylim

See plot.default.

xlab

See plot.default.

ylab

See plot.default.

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.


myllym/spptest documentation built on May 23, 2019, noon