Learn R Programming

lme4 (version 0.999999-2)

VerbAgg: Verbal Aggression item responses

Description

These are the item responses to a questionaire on verbal aggression. These data are used throughout De Boeck and Wilson, Explanatory Item Response Models (Springer, 2004) to illustrate various forms of item response models.

Arguments

source

http://bear.soe.berkeley.edu/EIRM/

References

De Boeck and Wilson (2004), Explanatory Item Response Models, Springer.

Examples

Run this code
str(VerbAgg)
xtabs(~ item + resp, VerbAgg)
xtabs(~ btype + resp, VerbAgg)
round(100 * ftable(prop.table(xtabs(~ situ + mode + resp, VerbAgg), 1:2), 1))
person <- unique(subset(VerbAgg, select = c(id, Gender, Anger)))
if (require(lattice)) {
    densityplot(~ Anger, person, groups = Gender, auto.key = list(columns = 2),
                xlab = "Trait Anger score (STAXI)")
}

Run the code above in your browser using DataLab