PlotPhenCycle {greenbrown} | R Documentation |
This function plots a seasonal cycle with phenology metrics.
PlotPhenCycle(x, xpred = NULL, metrics, xlab = "DOY", ylab = "NDVI", trs = NULL, main = "", ...)
x |
values of one year |
xpred |
smoothed/predicted values |
metrics |
vector of pheology metrics |
xlab |
label for x-axis |
ylab |
label for y-axis |
trs |
threshold for threshold methods |
main |
title |
... |
further arguments (currently not used) |
Matthias Forkel <matthias.forkel@geo.tuwien.ac.at> [aut, cre]
data(ndvi) plot(ndvi) # perform time series preprocessing for first year of data x <- TsPP(ndvi, interpolate=TRUE)[1:365] plot(x) # calculate phenology metrics for first year metrics <- PhenoTrs(x, approach="White") PlotPhenCycle(x, metrics=metrics)