Description Usage Arguments Details Value Note Author(s) References See Also Examples
Uses the association array generated by tap
to construct
an array of association diagrams (pie charts and scatterplots).
1 |
dataSet |
the n x m data frame representing n samples of the m variables. |
method |
the method to use for linear association (included in the visualization)
as performed by |
ranking |
a logical specifying whether or not to rank the data points before
producing the scatter plots. The default is |
order |
determines the variable ordering.
one of |
... |
passed on to graphics routines ... |
Displays associations between all pairs of variables as a graphics array using pie-charts above the diagonal depicting the proportion of the total association that can be explained by a linear trend in blue, and the remaining non-linear association in red.
Below the diagonal, scatter plots are shown and colored according to
proportional non-linearity (see nl3
returned by ma.nl
).
Returns nothing.
The data set can be of any dimension.
Ben Murrell, Dan Murrell & Hugh Murrell.
This code was adapted from the corrgram
package:
Author: Kevin Wright, Copyright: 2006 Kevin Wright, License: GPL2.
1 2 | data(baseballData)
agram(baseballData,order="OLO",main="All pair associations for baseballData")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.