Learn R Programming

prettyGraphs (version 1.0)

correlationPlotter: 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, xlab = "", ylab = "", main = "")

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.
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.