.solveWtVec {iopsych} | R Documentation |
Correlation between weighted predictor composite and criterion.
Description
Correlation between weighted predictor composite and criterion.
Usage
.solveWtVec(wt, rxx, rxy)
Arguments
wt |
A vector of predictor weights or a list of vectors. |
rxx |
A matrix of predictor intercorrelations. |
rxy |
A vector of predictor, criterion correlations. |
Value
A correlation coefficent.
Author(s)
Allen Goebl Jeff Jones
Examples
library(iopsych)
data(dls2007)
dat <- dls2007[1:6, 2:7]
rxx <- dat[1:4, 1:4]
rxy <- dat[1:4, 5]
wt1 <- c(1,1,1,1)
wt2 <- c(1,2,3,4)
wt_list <- list(wt1, wt2)
#.solveWtVec(wt=wt1, rxx=rxx, rxy=rxy)
#.solveWtVec(wt=wt2, rxx=rxx, rxy=rxy)
#.solveWtVec(wt=wt_list, rxx=rxx, rxy=rxy)
[Package iopsych version 0.90.1 Index]