I have a question which I don't have the answer to after a while of research.
temp.df<-subset(spread.df, x<5 & x>1 & y>1 & y<5)
wireframe((temp.df$z ~ temp.df$x + temp.df$y),
scales=list(arrows=F),
screen = list(z = 40,x= -60)
)
If I run this code, the x and y axes are from 2 to 4 with only one increment in between, which is 3. This makes the graph very low res. Is there a way to bump the resolution without manipulating my original data set? By higher resolution, I mean subdividing the surface of the wireframe.
Thank you!
OK here is how you can interpolate the surface with the
akima
package. By default it will give you a 40x40 grid, based on the existing surface: