R-users
E-mail: r-help@r-project.org
My R is R2.61 + fields 4.1 + spam0.31-1.
I tried Tps() in fields like
function ()
{
library(fields)
xx <- matrix(c(1,2,3,2,4,5,10,30,20,40,50,90), ncol=2)
print(xx)
yy <- c(5,1,2,3,4,5)
out1 <- Tps(xx,yy, lambda=1000)
print(out1$fitted.values)
print(out1$lambda)
}
The result is:
[,1] [,2]
[1,] 1 10
[2,] 2 30
[3,] 3 20
[4,] 2 40
[5,] 4 50
[6,] 5 90
Tps(xx, yy, lambda = 1000) :
Tps does not currently support the fixed lambda option.
See help(Tps) for details
When I replace fields 4.1 with fields 1.72, this error does not
occur. I would appreciate it if some one lets me know why.
--
***** r.otasuke@gmail.com *****
http://cse.naro.affrc.go.jp/takezawa/intro.html
[[alternative HTML version deleted]]