A scatterplot matrix is a series of scatterplots organized in a grid and often used to describe the relationship between different variables. These plots can range over different degrees of complexity, from merely plotting correlations between variables up to histograms and kernel density plots of distributions that incorporate other variable metadata . If you are already familiar with the graphics
package, the pairs()
function can be used to generate a basic scatterplot matrix. Alternatively, the GGally package, a helper package of ggplot2
, can be used to generate scatterplot matrices and other, more complex matrix figures in the ggplot2
style. It contains templates for different plots to be combined into a plot matrix, a parallel coordinate plot function, as well as a function for making a network plot. The main function available in this package is the ggpairs()
function, which is able to generate a matrix scatterplot using ggplot2
graphs,. Its use is quite...
ggplot2 Essentials
By :
ggplot2 Essentials
By:
Overview of this book
Table of Contents (14 chapters)
ggplot2 Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Graphics in R
Getting Started
The Layers and Grammar of Graphics
Advanced Plotting Techniques
Controlling Plot Details
Special Applications of ggplot2
Index
Customer Reviews