Description Usage Arguments Author(s) See Also Examples
This function plots a gradient of trend slopes (e.g. latitudinal gradient).
1 2 3 4 5 6 7 8 |
x |
Object of class 'TrendGradient' as returned from function |
type |
plotting |
ylab |
A title for the y axis |
xlab |
A title for the |
col |
line colors |
ylim |
limits for y axis |
xlim |
limits for |
add |
|
symbolic |
Add p-value as |
symbols |
Type of |
... |
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 19 20 21 22 23 | # # compute a latitudinal gradient of trends (by default the method 'AAT' is used)
# gradient <- TrendGradient(ndvimap, start=c(1982, 1), freq=12)
# gradient
# plot(gradient)
# # shown is the trend at each latitudinal band, the area represents the 95%
# # confidence interval of the trend (computed with function TrendUncertainty),
# # symbols indicate the p-value of the trend at each latitude
#
# plot(gradient, type="yx") # the gradient can be also plotted in reversed order
#
# # compute gradients with different trend methods
# gradient.mac <- TrendGradient(ndvimap, start=c(1982, 1), freq=12,
# method="SeasonalAdjusted", funSeasonalCycle=MeanSeasonalCycle)
# plot(gradient.mac, col="blue", ylab="NDVI trend (month-1)")
#
# # method AAT uses annual time steps, convert years -> months
# gradient$Slope <- gradient$Slope / 12
# gradient$SlopeUncLower <- gradient$SlopeUncLower / 12
# gradient$SlopeUncUpper <- gradient$SlopeUncUpper / 12
# gradient$SlopeUncMedian <- gradient$SlopeUncMedian / 12
# plot(gradient, col="red", add=TRUE)
#
#
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.