Suppose I have a 3 by 5 matrix in R:
4 5 5 6 8 3 4 4 5 6 2 3 3 3 4
I would like to interpolate between these values ββto create a 15 by 25 matrix. I would also like to indicate whether the interpolation is linear, Gaussian, etc. How can i do this?
For example, if I have a small matrix like this
2 3 1 3
and I want it to be 3 on 3, then it can look like
2 2.5 3 1.5 2.2 3 1 2 3
source share