Skip to content

help

2 messages · Anwesha Chakrabarti, Robert J. Hijmans

#
I think you have to loop over time ( "i"  in your case, which
presumably is a variable in your environment ).

something like:

for (i in 1:length(dat[1,1,])) {
   vz<-as.vector(dat[,,i])
   oz<-interpp(vx,vy,vz,ox,oy,linear=TRUE)
   Kolkata[i]<-oz$z
}
On Mon, Feb 2, 2009 at 5:38 PM, Anwesha Chakrabarti <c.anwesha at gmail.com> wrote: