Description Usage Arguments Value
This function is necessary because there is no way to set aesthetics in ggpairs for only a portion of the plot matrix. If ellipseArgList is empty, then no ellipses will be drawn. If globalGGobjs is non-empty, then it will be added (+) to each panel. You might use this to alter the color scale
1 2 | addEllipse(ggpairsObj, panels, ellipseArgList = list(lwd = 1, alpha = 1),
pointsArgList = list(), globalGGobjs = list())
|
ggpairsObj |
output from ggpairs |
panels |
numeric vector giving rows/columns to modify from the _lower_ triangle of the plot matrix |
ellipseArgList |
list of ggplot aesthetics to be set to fixed values for the ellipses, eg, |
pointsArgList |
list of ggplot aesthetics to be rewritten for the purposes of calling geom point, eg, |
globalGGobjs |
vector of ggplot2 theme or scale elements |
ggpairs object with modified panels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.