I want something similar to the 'plot.lm' functionality.
y <- rnorm(100, 0, 1)
x <- rnorm(100, 0, 1.5)
mod <- lm(y ~ x)
plot(mod)
Hit <Return> to see next plot:
Hit <Return> to see next plot:
Hit <Return> to see next plot:
Hit <Return> to see next plot:
I want to create several plots and then display them sequentially - prompting the user to hit in order to see all the plots.