Learn R Programming

cope (version 0.2.3)

plot.cope: Plots CoPE sets.

Description

Plots CoPE sets.

Usage

# S3 method for 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

Run this code
# 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)
## ---------------------------------------------

Run the code above in your browser using DataLab