Part-whole correlation for numeric data frames
pwc.rd
Computes the part-whole correlation (correlation of an item with the whole scale except for this item)
Value
A data.frame with three columns: First column item identifier, second column with conventional item-scale correlation, third column with part-whole correlation
Examples
dat <- data.frame ( item1 = c(0,1,1,3), item2 = c(2,3,1,3), item3 = c(1, NA, 3,3))
pwc(dat)
#> item corr partWholeCorr
#> 1 item1 0.9801539 0.7505683
#> 2 item2 0.5918640 0.1177603
#> 3 item3 0.7559289 0.5000000