[R] control data symbols in pairs function

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Feb 24 16:47:46 CET 2009



Kirk Wythers wrote:
> How does one control the size and type of data symbols in pairs()? I am 
> trying to use the little dot (as in type=".") with absolutely no success.


I guess you mean pch="." and hence

pairs(data.frame, panel=panel.smooth, pch=".")


Uwe Ligges

> Here is the pairs call I am using:
> pairs(data.frame, panel=function(x,y) {points(x,y); lines(lowess(x,y))})
> 
> or even simpler:
> pairs(data.frame, panel=panel.smooth)
> 
> Any hints would be much appreciated.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list