Skip to content
Prev 279252 / 398506 Next

problems using the thin plate spline method

Dear R users and Jeff, 

Sorry for not being quite explicit in my earlier message. My main problem is while my data seem to be read into R well (I manage to graph them and all), I cannot get the following line to work. 

tpsfit <- Tps(cbind(x1, x2), y, scale.type="unscaled")

and I get the following error message

Error in as.matrix(x) : 
  error in evaluating the argument 'x' in selecting a method for function 'as.matrix': Error: object 'x1' not found

thanks for help
minti
________________________________________
Fr?n: Jeff Newmiller [jdnewmil at dcn.davis.ca.us]
Skickat: den 3 december 2011 17:45
Till: Mintewab Bezabih; r-help at r-project.org
?mne: Re: [R] problems using the thin plate spline method

I can tell that you are puzzled and confused. Unfortunately, I am not psychic, so I cannot tell what you did, and therefore cannot tell where you went astray.

The solution is for you to read the posting guide mentioned at the bottom of every R-help message. Spend a little time to create a small bit of data like yours if your actual data is large (subset and dput are useful for this). Remember to include the output of sessionInfo, and so on. Many times you are likely to find the answer yourself by going through these steps, but they are essential for communication.

Good luck.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
Mintewab Bezabih <Mintewab.Bezabih at economics.gu.se> wrote: