【发布时间】:2021-10-25 17:15:12
【问题描述】:
我有一个与示例类似的栅格堆栈,周期为 62 天。我想拟合一个长度等于 62 天的时间序列移动平均线。我如何在 R 中做到这一点?
library(greenbrown)
data("ndvimap")
#here I have an issue as I do not know how to set the length and run the window
#filt<-focal(ndvimap, fun=mean, na.rm=T)#it does not work
谁能帮帮我?
【问题讨论】: