plot.cope: Plots CoPE sets.

Description Usage Arguments References Examples

View source: R/ComputeCope.R

Description

Plots CoPE sets.

Usage

1
2
3
4
5
## S3 method for class 'cope'
plot(x, ..., taylor = FALSE, use.true.function = FALSE,
  colc = "purple", lwdc = 3, ltyc = 1, colp = "darkred", lwdp = 3,
  ltyp = 1, colm = "darkgreen", lwdm = 3, ltym = 1,
  conlist = list(drawlabels = FALSE))

Arguments

x

An object of class cope to be plotted.

...

Additional graphical parameters passed to fields::image.plot.

taylor

Boolean indicating whether the CoPE sets with the threshold obtained by Taylor's method should be plotted. Default is FALSE.

use.true.function

Boolean indicating whether the threshold obtained from the true function should be used. Default is FALSE.

colc

Color of contour line for A_c.

lwdc

Width of contour line for A_c.

ltyc

Type of contour line for A_c.

colp

Color of contour line for \hat{A}^{+}_c.

lwdp

Width of contour line for \hat{A}^{+}_c.

ltyp

Type of contour line for \hat{A}^{+}_c.

colm

Color of contour line for \hat{A}^{-}_c.

lwdm

Width of contour line for \hat{A}^{-}_c.

ltym

Type of contour line for \hat{A}^{-}_c.

conlist

A list of additional arguments to pass to the contour function. By default, the contour labels are not shown.

References

M. Sommerfeld, S. Sain and A. Schwartzman. Confidence regions for excursion sets in asymptotically Gaussian random fields, with an application to climate. Preprint, 2015.

Examples

1
2
3
4
5
6
7
8
# An example using the ToyNoise and ToySignal of this package.
## Not run: 
n = 30
Data = ToyNoise1(n = n)
Data$z = Data$z + rep(ToySignal()$z, n)
CopeSet = ComputeCope(Data, level=4/3, mu=ToySignal()$z)
plot(CopeSet)
## End(Not run)

Example output

Loading required package: maps
# This package was created for research supported by NIH Grant R01 CA157528

cope documentation built on May 2, 2019, 6:32 a.m.

Related to plot.cope in cope...