search for: stat890

Displaying 1 result from an estimated 1 matches for "stat890".

2008 May 29
1
akima interpolation and triangulation question
...t 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.mesh(soil$u, soil$v...