plot.simple_sews_test | R Documentation |
Spatial early-warning signals: display of trends
## S3 method for class 'simple_sews_test'
plot(x, along = NULL, what = "value", display_null = TRUE, ...)
## S3 method for class 'simple_sews_list'
plot(x, along = NULL, ...)
x |
A |
along |
A vector providing values over which the indicator trend
will be plotted. If |
what |
The trendline to be displayed. Defaults to the indicator's values ("value") but other metrics can be displayed. Accepted values are "value", "pval", "difference" (obs - null mean), or "z_score" ( (obs - null mean) / (null sd) ). |
display_null |
Chooses whether a grey ribbon should be added to reflect
the null distribution. Note that it can not be displayed when the trend
line reflects something else than the indicator values (when |
... |
Other arguments are ignored. |
Note that the produced plot is adjusted depending on whether
along
is numeric or not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.