[R] qplot(model)

behave dethlef1 at hotmail.com
Thu Sep 15 11:11:38 CEST 2011


hi R Community

Is it possible to plot a model using the ggplot2 package.

Something like:
x<-rnorm(100)
y<-rnorm(100)
fit<-lm(y~x)
plot(fit)

but with ggplot2
qplot(fit)?

thanks
michael

--
View this message in context: http://r.789695.n4.nabble.com/qplot-model-tp3815060p3815060.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list