[R] Ltsreg and nsamp="exact"
Christopher Adolph
cadolph at fas.harvard.edu
Wed Jun 18 21:27:42 CEST 2003
I'm trying to use least trimmed squares using ltsreg with nsamp="exact".
When I use the following:
rg <- ltsreg(x,y,nsamp="exact")
I get:
Error in lqs.default(x, y, nsamp = "exact", method = "lts") :
NAs in foreign function call (arg 10)
In addition: Warning message:
NAs introduced by coercion
Incidentally, there are no missings in x or y, and when I run
rg <- ltsreg(x,y)
everything is fine.
Any ideas?
Thanks
Chris Adolph
More information about the R-help
mailing list