Displaying 1 result from an estimated 1 matches for "gridfinal".
2007 Dec 04
1
2/3d interpolation from a regular grid to another regular grid
Hello R users,
I have numerical data sampled on two grids, each one shifted by 0.5
from the other.
For example:
grid1 = expand.grid(x=0:3, y=0.5:2.5)
grid2 = expand.grid(x=0.5:2.5, y=0:3)
gridFinal = expand.grid(x=0.5:2.5, y=0.5:2.5)
plot(gridFinal, xlim=c(0,3), ylim=c(0,3), col="black", pch=19)
points(grid1, xlim=c(0,3), ylim=c(0,3), col="red", pch=19)
points(grid2, xlim=c(0,3), ylim=c(0,3), col="blue", pch=19)
I would like to interpolate the quantities on gri...