pattern.id | R Documentation |
Pattern : Identical responses
pattern.id(data, cols)
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 |
The participants (rows) following the pattern, and the list of said participants along with their responses for all the items in the scale
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>
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.