Computes and plots a correlation circle (used in multivariate analyses). Correlation is computed between measured items and components (factors, dimensions, principal axes, etc...).
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
)
A set of data (i.e., original measures and observations)
One set of factor scores that were computed from the original data matrix.
Which axis is the x-axis? Default is 1.
Which axis is the y-axis? Default is 2.
A single-column matrix of colors for each data point.
A single-column matrix of pch for each data point. Indicates
which point style to use for each item. See par
.
A label to be placed along the x-axis.
A label to be placed along the y-axis.
A title to be placed at the top of the graph.
numeric. Line width for the axes.
numeric. Line width for the circle.
color for the circle
numeric. Aspect ratio (see asp
in par
).
boolean. If TRUE, dev.new
is called internally
to create new device. If FALSE, a device must already be open.
Derek Beaton