[RsR] lmrob: rwls()-Warning is not in the result returned
Locher René (lor)
|or @end|ng |rom zhw|n@ch
Wed Jun 6 15:24:28 CEST 2007
Dear Matias
I got also another warning from another function called by lmrob() which is not reflected in "converged". Here is my code for reproduction:
library(robustbase)
test <- data.frame(lconc = log(c(29.5, 40.1, 21.1, 25.3, 27.3, 25.2,
26.9, 19.1, 16.4)),
dist = c(520, 1480, 1780, 740, 540, 1050, 1100,
1640, 1860))
res <- lmrob(lconc~dist, dat=test)
## Warning messages:
## 1: rwls(): not converged in 1000 lambda iterations
## 2: rwls(): not converged in 1000 lambda iterations
## 3: rwls(): not converged in 1000 lambda iterations
## 4: rwls(): not converged in 1000 lambda iterations
res$converged
## [1] TRUE
Kind regards
René
René Locher E-Mail: rene.locher using zhwin.ch
Institut für Datenanalyse und Prozessdesign Tel: 052/ 267 7810
Zürcher Hochschule Winterthur Fax: 052/ 268 7810
Technopark / Jägerstrasse 2
Postfach
CH-8400 Winterthur http://www.idp.zhwin.ch
More information about the R-SIG-Robust
mailing list