plot.global_envelope2d: Plotting function for 2d global envelopes

View source: R/envelopes2d.r

plot.global_envelope2dR Documentation

Plotting function for 2d global envelopes

Description

If more than one envelope has been calculated (corresponding to several coverage/alpha), only the largest one is plotted.

Usage

## S3 method for class 'global_envelope2d'
plot(
  x,
  fixedscales = TRUE,
  what = c("obs.sign", "obs", "lo", "hi", "lo.sign", "hi.sign"),
  sign.type = c("circles", "contour", "col"),
  sign.col = c("blue", "red"),
  transparency = 155/255,
  digits = 3,
  ...
)

Arguments

x

A 'global_envelope' object for two-dimensional functions

fixedscales

Logical. TRUE for the same scales for all images.

what

Character vector specifying what information should be plotted for 2d functions. A combination of: Observed ("obs"), upper envelope ("hi"), lower envelope ("lo"), observed with significantly higher values highlighted ("hi.sign"), observed with significantly lower values highlighted ("lo.sign"), observed with significantly (lower and higher) values highlighted ("obs.sign"). Default to the last one. Combination c("obs", "lo", "hi", "lo.sign", "hi.sign") can also be of interest (earlier default).

sign.type

Either "col" for color showing the significant region, or "contour" for colored contour showing the significant region, or "circles" for plotting circles at locations where the observed function exceeds the envelope: diameters proportional to (obs-hi)/(hi-lo) for values above the envelope and (lo-obs)/(hi-lo) for values below the envelope. In the one-sided (testing) case, the divisors are instead (hi-central) (case 'greater') and (central-lo) (case 'less'). Default to "circles".

sign.col

A vector of length two giving the colors for significant parts below the envelope (first value) and above the envelope (second value).

transparency

A number between 0 and 1 (default 155/255, 60 Similar to alpha of rgb. Used in plotting the significant regions for 2d functions.

digits

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

...

Ignored.

See Also

graph.flm


GET documentation built on Sept. 11, 2024, 5:46 p.m.