[R] Tps regression question

Neil Klepeis nklepeis at uclink.berkeley.edu
Thu May 23 00:02:34 CEST 2002


Look at the 2D example for the ozone data set and the 4D example using
BD[,1:4] as input for `x'.   You input a matrix `x' with `d' dimensions
as multiple columns of data (independent variables).


Paola Lecca wrote:
> 
> Dear all,
> 
> I'm a beginner in spatial regression, therefore, excuse me in advance for
> the stupid question.
> 
> I'm using the function Tps of field library. As I read in help, the
> assumed model for this regression is additive  Y = f(X) + e  where f(X)
> is a d dimensional surface.
> 
> I have understood that d in not an argument to specify in Tps(x, Y, ...).
> 
> How can I obtain d ?
> 
> Thanks a lot.
> Paola.
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-- 
___________________________________________________________
Neil E. Klepeis -- School of Public Health, UC Berkeley and
Lawrence Berkeley National Laboratory, Berkeley, CA USA
http://socrates.berkeley.edu/~nklepeis
Phone: 831-768-9510
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list