plotEot: Plot the results of eot

Description Usage Arguments Examples

Description

This is the standard plotting routine for the results of eot. Three panels will be drawn i) the predictor domain, ii) the response domain, iii) the time series at the identified base point

Usage

1
2
3
4
plotEot(eot.obj, eot = 1, pred.prm = "rsq", resp.prm = "r",
  show.eot.loc = FALSE, anomalies = TRUE, add.map = TRUE,
  times.vec = NULL, arrange = c("wide", "long"),
  clr = colorRampPalette(rev(brewer.pal(9, "Spectral")))(1000), ...)

Arguments

eot.obj

an EOT object as returned by eot

eot

numeric. the mode to be plotted

pred.prm

the parameter of the predictor to be plotted.
Can be any of "r", "rsq", "rsq.sums", "p", "int" or "slp"

resp.prm

the parameter of the response to be plotted.
Can be any of "r", "rsq", "rsq.sums", "p", "int" or "slp"

show.eot.loc

logical. If TRUE a grey circle will be drawn in the predictor image to indicate the location of the mode

anomalies

logical. If TRUE a reference line will be drawn a 0 in the EOT time series

add.map

logical. If TRUE country outlines will be added to the predictor and response images

times.vec

an (optional) time series vector of the considered EOT calculation to be shown as the x-axis in the time series plot

arrange

whether the final plot should be arranged in "wide" or "long" format

clr

an (optional) color palette for displaying of the predictor and response fields

...

further arguments to be passed to spplot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
data(vdendool)

# claculate 2 leading modes
modes <- eot(pred = vdendool, resp = NULL, n = 2, reduce.both = FALSE,
             standardised = FALSE, print.console = TRUE)

# default settings
plotEot(modes)

# showing the loction of the mode
plotEot(modes, eot = 1, show.eot.loc = TRUE)

# changing parameters
plotEot(modes, eot = 1, show.eot.loc = TRUE,
        pred.prm = "r", resp.prm = "p")

# change plot arrangement
plotEot(modes, eot = 1, show.eot.loc = TRUE, arrange = "long")

environmentalinformatics-marburg/Reot documentation built on May 16, 2019, 7:50 a.m.