actr {qcv} | R Documentation |
Actual correlations
Description
A very simple function, actr() computes the actual correlations between a focal test and a set of criterion variables
Usage
actr(df)
Arguments
df |
data frame consisting of focal test and a set of criterion variables |
Details
The df should contain only scores on the focal test and on the criterion variables. Any additional columns should be deleted. Focal test scores should be in the first column. If you need to reorder columns, you can do so by column number - eg, df <- df[c(1,3,2)] - or by column name - eg, df <- df[c("test", "crit1", "crit2")]
This function uses the "pairwise.complete.obs" option, which handles missing data by pairwise deletion.
Examples
data(motdat)
actr(motdat)
[Package qcv version 1.0 Index]