[R] colored outliers

Geophagus falk.hilliges at twain-systems.com
Tue Jan 10 17:40:44 CET 2012


Hi Justin,
thanks a lot for your quick answer.
If I use your code, all points become red.
How do you include the sorted and separated four values into the "points"
argument?
The variable in your script is called "circ" but this is not fronted up
anymore.
Here the script again:

TOC_NI<-read.csv2("C:/Users/hilliges/Desktop/Master/Daten/Statistik/TOC-NI.csv",
sep=";", dec=",", encoding="UTF-8")
circ<-TOC_NI[order(TOC_NI$NI,decreasing=T),]
plot(NI~TOC,data=TOC_NI,col="blue", pch=16, xlim=c(0,4500000))
abline(lm(NI~TOC,data=TOC_NI),col = "red",lwd=3)
points(NI~TOC,data=TOC_NI,col='red',pch=1,size=3) 

Thanks a lot for your help!
GeO



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



More information about the R-help mailing list