correlationPlotter: correlationPlotter

Description Usage Arguments Author(s)

View source: R/correlationPlotter.R

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

1
2
3
4
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 par.

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 asp in par).

dev.new

boolean. If TRUE, dev.new is called internally to create new device. If FALSE, a device must already be open.

Author(s)

Derek Beaton


prettyGraphs documentation built on May 1, 2019, 9:25 p.m.