[R] Scatterplot - symbols coded by factor
Alvaro Colina Santamaria
acosa at ubu.es
Sat Feb 10 11:50:25 CET 2001
Matt Pocernich wrote:
> Hi - I would like to create a scatterplot with the symbols
coded by a
> factor in each record. Is their a better way than what I
> below? I attempted to use the plot.factor, but cannot force
> make a scatterplot instead of boxplots. I have considerd
> function with a 'for' statement for each level of the factor.
> there a better way for when I am dealing with more levels of
> Thanks, Matt Pocernich
You can use the function text.
text(X, Y, labels = as.character(manuf))
Alvaro Colina |-|o||o||o||o||o||o||o||o||o|-
Area de Quimica Analitica | Pza. Misael Banuelos s/n
Facultad de Ciencias | 09001. Burgos. Spain
Universidad de Burgos | Phone: 34-947-258817
e-mail: acosa at ubu.es | FAX: 34-947-258831
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