correlationPlotter {prettyGraphs} | R Documentation |
correlationPlotter
Description
Computes and plots a correlation circle (used in multivariate analyses). Correlation is computed between measured items and components (factors, dimensions, principal axes, etc...).
Usage
correlationPlotter(data_matrix, factor_scores, x_axis = 1, y_axis = 2,
col = NULL, pch = NULL, xlab = "", ylab = "", main = "",
axis.lwd = 3, circle.lwd = 3, circle.col = "#00000040",
asp = 1, dev.new = TRUE)
Arguments
data_matrix |
A set of data (i.e., original measures and observations) |
factor_scores |
One set of factor scores that were computed from the original data matrix. |
x_axis |
Which axis is the x-axis? Default is 1. |
y_axis |
Which axis is the y-axis? Default is 2. |
col |
A single-column matrix of colors for each data point. |
pch |
A single-column matrix of pch for each data point. Indicates which point style to use for each item. See |
xlab |
A label to be placed along the x-axis. |
ylab |
A label to be placed along the y-axis. |
main |
A title to be placed at the top of the graph. |
axis.lwd |
numeric. Line width for the axes. |
circle.lwd |
numeric. Line width for the circle. |
circle.col |
color for the circle |
asp |
numeric. Aspect ratio (see |
dev.new |
boolean. If TRUE, |
Author(s)
Derek Beaton