Dear all, I am trying to run the codes of "greenbrown" package for detection in raster time serie.
However the error below reported occurs. ##### library(greenbrown) data(ndvimap) ndvimap plot(ndvimap,8) # calculate trend: annual aggregation method AATmap <- TrendRaster(ndvimap$X1982.01.01, start=c(1982, 1), freq=12, method="AAT", breaks=1) Error in .calcTest(x[1:5], fun, na.rm, forcefun, forceapply) : cannot use this function ############ Could anyone help me to solve it? Thank you, Jackson [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.