psychsyn_critval {careless}R Documentation

Compute the correlations between all possible item pairs and order them by the magnitude of the correlation

Description

A function intended to help finding adequate critical values for psychsyn and psychant. Takes a matrix of item responses and returns a data frame giving the correlations of all item pairs ordered by the magnitude of the correlation.

Usage

psychsyn_critval(x, anto = FALSE)

Arguments

x

a matrix of item responses.

anto

ordered by the largest positive correlation, or, if anto = TRUE, the largest negative correlation.

Author(s)

Francisco Wilhelm franciscowilhelm@gmail.com

See Also

after determining an adequate critical value, continue with psychsyn and/or psychant

Examples

psychsyn_cor <- psychsyn_critval(careless_dataset)
psychsyn_cor <- psychsyn_critval(careless_dataset, anto = TRUE)

[Package careless version 1.2.1 Index]