Displaying 1 result from an estimated 1 matches for "zhuz".
Did you mean:
zhu
2008 May 29
1
akima interpolation and triangulation question
...(and it is not the only
example I found). Because I'm not really into the details of the
functions I would like to hear comments from people who have used
these functions before.
This is the code
library(akima)
library(fields)
library(tripack)
soil <- read.table("http://www.unc.edu/~zhuz/teaching/Stat890/Data/soil.txt",header=TRUE)
attach(soil)
soil.interp <- interp(u, v, moist) # linear interpolation works
plot.surface(soil.interp)
# spline interpolation
soil.interp2 <- interp(u, v, moist, linear = F) # spline interpolation
returns only NA's
# triangulation
tri.me...