Adds correlations to a matrix plot

Description

A simple function used by pairs to produce neat looking matrix plots. Not intended for use by those using siar.

Usage

1
panelcor(x, y, digits = 2, prefix = "", cex.cor, ...)

Arguments

x

A numeric vector containing data with which to produce correlations

y

A numeric vector containing data with which to produce correlations

digits

Number of digits to display on plot

prefix

Text to add before the correlation

cex.cor

Multiplier for the size of the text on the plot

...

Other arguments

Author(s)

Unknown

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.