[R] TrendRaster function

Jackson Rodrigues j@ck@onmrodrigue@ @ending from gm@il@com
Sat Nov 24 02:02:04 CET 2018


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]]



More information about the R-help mailing list