mapmatrix | R Documentation |
Internal function for doing interpolation
mapmatrix(xydata, i, map)
xydata |
x and y data |
i |
index |
map |
geographical map |
map
George Owusu
## Not run:
folder=system.file("extdata","stack",package="sebkc")
sebiauto=sebi(folder=folder,welev=317,Tmax=31,Tmin=28)
points=sampleRandom(sebiauto$EF,100,sp=TRUE)
pt=cbind(points@coords,points@data)
longitude=pt$x
latitude=pt$y
value=pt$layer
mapmatrix=mapmatrix(xydata,2)
map=invdist(longitude,latitude,var=value,ext=sebiauto$EF)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.