Description Usage Arguments Methods (by class) Examples
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
1 2 3 4 5 6 7 8 9 | ## S4 method for signature 'EotMode,ANY'
plot(x, y, pred.prm = "rsq", resp.prm = "r",
show.bp = FALSE, anomalies = TRUE, add.map = TRUE, ts.vec = NULL,
arrange = c("wide", "long"), clr = NULL, locations = FALSE, ...)
## S4 method for signature 'EotStack,ANY'
plot(x, y, pred.prm = "rsq", resp.prm = "r",
show.bp = FALSE, anomalies = TRUE, add.map = TRUE, ts.vec = NULL,
arrange = c("wide", "long"), clr = NULL, locations = FALSE, ...)
|
x |
either an object of EotMode or EotStack as returned by |
y |
integer or character of the mode to be plotted (e.g. 2 or "mode_2") |
pred.prm |
the parameter of the predictor to be plotted. |
resp.prm |
the parameter of the response to be plotted. |
show.bp |
logical. If |
anomalies |
logical. If |
add.map |
logical. If |
ts.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 |
locations |
logical. If x is an EotStack, set this to TRUE to produce a map showing the locations of all modes. Ignored if x is an EotMode |
... |
further arguments to be passed to |
x = EotStack,y = ANY
: EotStack
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | data(vdendool)
## claculate 2 leading modes
nh_modes <- eot(x = vdendool, y = NULL, n = 2,
standardised = FALSE,
verbose = TRUE)
## default settings
plot(nh_modes, y = 1) # is equivalent to
## Not run:
plot(nh_modes[[1]])
plot(nh_modes, y = 2) # shows variance explained by mode 2 only
plot(nh_modes[[2]]) # shows cumulative variance explained by modes 1 & 2
## showing the loction of the mode
plot(nh_modes, y = 1, show.bp = TRUE)
## changing parameters
plot(nh_modes, y = 1, show.bp = TRUE,
pred.prm = "r", resp.prm = "p")
## change plot arrangement
plot(nh_modes, y = 1, show.bp = TRUE, arrange = "long")
## plot locations of all base points
plot(nh_modes, locations = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.