Skip to content
Prev 361039 / 398506 Next

Plots for lmrob function

A "null device" is not going to be of much help. Generally one would have an available interactive device. On a Mac this would be the quartz device:
quartz 
     2 


That said I also get a different error. I am running with the 'error' option set to `recover`, so I see only a single plot of the "Robust Standardized residuals" before an error is reported. I intially wondered is this is caused by using such a small dataset for a model when requesting three predictors and an outcome.
recomputing robust Mahalanobis distances
saving the robust distances 'MD' as part of ?fit?
Hit <Return> to see next plot: 
Error in plot.it && missing(ylim) : invalid 'x' type in 'x && y'
In addition: Warning messages:
1: In plot.window(...) : "plot" is not a graphical parameter
2: In plot.xy(xy, type, ...) : "plot" is not a graphical parameter
3: In axis(side = side, at = at, labels = labels, ...) :
  "plot" is not a graphical parameter
4: In axis(side = side, at = at, labels = labels, ...) :
  "plot" is not a graphical parameter
5: In box(...) : "plot" is not a graphical parameter
6: In title(...) : "plot" is not a graphical parameter
7: In plot.xy(xy.coords(x, y), type = type, ...) :
  "plot" is not a graphical parameter
8: In title(sub = sub.caption, ...) : "plot" is not a graphical parameter

But reducing the model did not cure the error. Only removing `plot=all` was sufficient to get plotting of all five plots. The help page for plot.lmrob does not describe a "plot" parameter.