[R] Graphic Dispersion - Colored Points

Mestat mestat at pop.com.br
Thu Aug 12 01:41:28 CEST 2010


Hey folks,
I have a graphic of dispersion...
I would like to color some specific points (x,y) according to another
indicator variable, for example:

x<-rnorm(5)
y<-rnorm(5)
ind<-(1,0,0,1,0)
plot(x,y)

Any suggestion, thanks...
Marcio


-- 
View this message in context: http://r.789695.n4.nabble.com/Graphic-Dispersion-Colored-Points-tp2322011p2322011.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list