[R] plotting question
bates at stat.wisc.edu
Wed Apr 26 20:08:20 CEST 2000
Thaddeus Tarpey <thaddeus.tarpey at wright.edu> writes:
> I would like to plot two different samples on the same scatterplot in R
> using different symbols for the different groups.
> Could someone please let me know how this can be done?
One way is to use the pch argument to the plot function, as in
> plot(Speed ~ as.integer(Run), data = michelson, pch = as.integer(Expt))
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