pattern.id: Pattern : Identical responses

View source: R/pattern.id.R

pattern.idR Documentation

Pattern : Identical responses

Description

Pattern : Identical responses

Usage

pattern.id(data, cols)

Arguments

data

The data set with the scored responses in the same order as it is administered

cols

The columns belonging to the psychometric scale/scales under scrutiny

Value

The participants (rows) following the pattern, and the list of said participants along with their responses for all the items in the scale

References

Kreitchmann, R. S., Abad, F. J., Ponsoda, V., Nieto, M. D., & Morillo, D. (2019) "Controlling for response biases in self-report scales" <doi:10.3389/fpsyg.2019.02309> Furnham, A. (1986) "Response bias, social desirability and dissimulation" <doi:10.1016/0191-8869(86)90014-0>

Examples

data <- data.frame(
    Q1 = c(1, 2, 1, 2),
    Q2 = c(2, 1, 2, 1),
    Q3 = c(1, 2, 1, 2),
    Q4 = c(2, 1, 2, 1)
)
pattern.id(data, 1:4)

pattern.checks documentation built on April 3, 2025, 9:22 p.m.