search for: splinefunction

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

Did you mean: inlinefunction
2011 May 02
2
easy way to do a 2-D fit to an array of data?
...for the sake of argument Z is 128x128) foo<-matrix(seq(1,128),128,128) xvec <- as.vector(foo) yvec <- as.vector(t(foo)) at which point I can feed zvec, xvec, yvec to lm() . I'm hopeful someone can point me to a much easier way to do the same thing. Oh, and if there's a 2-D splinefunction generator, that would work for me as well. thanks Carl