Description Usage Arguments Author(s) See Also Examples
This is the standard plot function for results of the Trend
function. See plot.default
for further specifications of basic plots.
1 2 3 4 5 6 7 8 9 |
x |
Object of class 'Trend' as returned from function |
ylab |
A title for the y axis |
add |
|
col |
colors for (1) time series, (2) trend line, (3) breakpoints and (4) trend uncertainty |
lty |
line types for (1) time series, (2) trend line, (3) breakpoints and (4) trend uncertainty |
lwd |
|
symbolic |
|
legend |
|
axes |
plot |
... |
Further arguments that can be passed |
Matthias Forkel <matthias.forkel@tu-dresden.de> [aut, cre]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # calculate a trend and look at the results
ndvi.trend <- Trend(ndvi)
ndvi.trend
plot(ndvi.trend)
ndvi.trend.aat <- Trend(ndvi, method="AAT", mosum.pval=1)
plot(ndvi.trend.aat)
plot(ndvi.trend.aat, symbolic=FALSE)
plot(ndvi.trend.aat, symbolic=FALSE, legend=TRUE)
ndvi.trend.stm <- Trend(ndvi, method="STM", mosum.pval=1)
plot(ndvi.trend.stm)
plot(ndvi.trend.aat, symbolic=TRUE, ylim=c(0.23, 0.31),
col=c("blue", "blue", "red"))
plot(ndvi.trend.stm, symbolic=TRUE, col=c("darkgreen", "darkgreen", "red"),
lty=c(0, 1, 1), add=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.