Description Usage Arguments Value Author(s) See Also Examples
A matrix of plots is produced. The upper diagonal matrix consists of the correlation between pairs of variables. The lower diagonal matrix shows the scatter of each sample including a density overlay and a loess fit. Finally the diagonal shows a histogram of each of the input variables.
1 | general.plot_pairs(mat, ...)
|
mat |
A matrix or a dataframe with numerical columns |
... |
Additional parameters |
Plots a pairs plot on screen
Jens Hooge
pairs
1 2 3 4 5 | ## Not run:
data(iris)
general.plot_pairs(iris[, 1:4])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.