psychsyn_critval: Compute the correlations between all possible item pairs and...

View source: R/psychsyn_critval.R

psychsyn_critvalR 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)

careless documentation built on Oct. 1, 2023, 9:06 a.m.