Skip to content
Prev 134 / 523 Next

[RsR] lmrob: rwls()-Warning is not in the result returned

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 at 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