actr: Actual correlations

Description Usage Arguments Details Examples

View source: R/actr.R

Description

A very simple function, actr() computes the actual correlations between a focal test and a set of criterion variables

Usage

1

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

1
2

qcv documentation built on May 1, 2019, 9:15 p.m.

Related to actr in qcv...