Title: | Identifies Patterned Responses in Scales |
---|---|
Description: | Identifies the entries with patterned responses for psychometric scales. The patterns included in the package are identical (a, a, a), ascending (a, b, c), descending (c, b, a), alternative (a, b, a, b / a, b, c, a, b, c). |
Authors: | JZL [aut, cre] |
Maintainer: | JZL <[email protected]> |
License: | GPL (>= 2) |
Version: | 0.1.0 |
Built: | 2025-01-24 06:28:45 UTC |
Source: | https://github.com/jzl-ck/pattern.checks |
Pattern : ab ab
pattern.abab(data, cols)
pattern.abab(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
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.abab(data, 1:4)
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.abab(data, 1:4)
Pattern : abc abc
pattern.abcabc(data, cols)
pattern.abcabc(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
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.abcabc(data, 1:4)
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.abcabc(data, 1:4)
Pattern : Responses in ascending order
pattern.as(data, cols)
pattern.as(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
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.as(data, 1:4)
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.as(data, 1:4)
Pattern : Responses in descending order
pattern.ds(data, cols)
pattern.ds(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
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.ds(data, 1:4)
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.ds(data, 1:4)
Pattern : Identical responses
pattern.id(data, cols)
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
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)
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)