View source: R/experimental-fun.R
qpairs | R Documentation |
This functions can be used to init pairs plot based on ggplot.
qpairs(
data,
mapping = NULL,
expansion = NULL,
axis_child = TRUE,
data2 = NULL,
except = NULL,
type = "full",
diag = TRUE,
rasterize = TRUE,
res = NULL,
grid_col = "grey50",
grid_size = 0.25,
drop = TRUE,
use_md = NULL,
...
)
data |
a data frame. |
mapping |
default list of aesthetic mappings to use for plot. |
expansion |
a list of x/y axis expansion of child plot. |
axis_child |
logical, if (TRUE) will add child plot axis. |
data2 |
NULL or a data frame. |
except |
character, which variable will not be contained in plot. |
type |
character, "full" (default), "upper" or "lower", display full matrix, lower triangular or upper triangular matrix. |
diag |
logical, if TRUE (default) will keep the diagonal of matrix data. |
rasterize |
logical, whether to convert raster image before drawing. |
res |
positive numeric, used to set the resolution of raster. |
grid_col |
colour of panel grid. |
grid_size |
size of panel grid. |
drop |
logical. If TRUE, the unused labels will be removed. |
use_md |
logical. if TRUE, will use |
... |
passed to |
a ggplot object.
Hou Yun
## Not run:
qpairs(iris) + geom_pairs()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.