plot.lm
has a nice feature of displaying plots one after another, so when specifying
plot(lm(rnorm(100) ~ rnorm(100, 3, 1)))
displays first plot and asks user to
Hit Return to see next plot:
Now I want to generate 30 plots, so displaying them in a grid will make them hard to read, while specifying them one after another is quite cumbersome. I've been wondering if there is a function or a method to imitate plot.lm
behaviour? I'm specifically interested in a function that is compatible with ggplot2
.