score_groups {iarm} | R Documentation |
Generate two Score Groups
Description
Creates a grouping variable which divides the sample in two groups (high and low scorers) of roughly equal size, without taking into account persons with extreme scores.
Usage
score_groups(dat.items, label = FALSE)
Arguments
dat.items |
A data frame with the responses to the items. |
label |
If TRUE the levels of the group factor are named according to the split used, if FALSE (default) the group factor has levels 1 and 2. |
Details
The score groups are used for tests of item homogeneity.
Value
Score group variable, a factor with two levels.
[Package iarm version 0.4.3 Index]