[R] plotting question

Chong Gu chong at stat.purdue.edu
Wed Apr 26 21:57:13 CEST 2000


Thad,

Here is an example taken from a class I am teaching:

library(MASS); data(Cars93)
plot(Cars93$EngineSize,Cars93$Horsepower,col=as.numeric(Cars93$Type))

Chong
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list