Scatterplots
[This article was first published on Taiyun Wei, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
There are many types of scatterplots in R, here are some examples based on the famous Iris data.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
- pairs() and coplot() in package graphics.
![](https://i0.wp.com/1.bp.blogspot.com/_2-2OSqfuOiY/SbeeMkyxyxI/AAAAAAAAAGo/4nApPMDYJko/s320/pairs.png?w=578)
- gpairs() in package YaleToolkit.
![](https://i0.wp.com/3.bp.blogspot.com/_2-2OSqfuOiY/SbeeZVfACJI/AAAAAAAAAGw/ZIO9kAbzR6k/s320/gpairs.png?w=578)
- scatterplot.matrix() or spm() in package car.
![](https://i0.wp.com/3.bp.blogspot.com/_2-2OSqfuOiY/SbeepCiFGiI/AAAAAAAAAG4/0XC7mzrnjY4/s320/spm.png?w=578)
- splom() in package lattice.
![](https://i0.wp.com/1.bp.blogspot.com/_2-2OSqfuOiY/Sbee7letFZI/AAAAAAAAAHA/OXOUF3Y-zAo/s320/splom2.png?w=578)
![](https://i0.wp.com/2.bp.blogspot.com/_2-2OSqfuOiY/Sbee7iTO4vI/AAAAAAAAAHI/l1oFYI2Fdks/s320/splom.png?w=578)
To leave a comment for the author, please follow the link and comment on their blog: Taiyun Wei.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.