internal.corAdd: Appends a new variable into a correlation matrix.

Description Usage Arguments Value Author(s) Examples

Description

Appends a new variable into a correlation matrix.

Usage

1
.corAdd(r_mat, r_vec, lab = "")

Arguments

r_mat

A correlation matrix.

r_vec

A vector of correlations to append to r_mat.

lab

A column name for r_vec.

Value

A larger correlation matrix.

Author(s)

Allen Goebl and Jeff Jones

Examples

1
2
3
4
#data(dls2007)
#dat <- dls2007
#rxx <- dat[1:4, 2:5]
#corAdd(rxx, c(.1,.1,.1,.1), lab="V5")

iopsych documentation built on May 2, 2019, 2:27 p.m.