## Verbal aggression data
data("VerbalAggression", package = "psychotools")
## Rating scale model for the first other-to-blame
## situation: 'A bus fails to stop for me'
rsm <- RSModel.fit(VerbalAggression$resp[, 1:6])
## Basic plot with parameter patterns and custom labels.
lab <- c(paste(rep(c("Curse", "Scold", "Shout"), each = 2),
rep(c("Want", "Do"), 3 ), sep = "-"), "Tau 1", "Tau 2")
plot(rsm, names = lab)
## Basic plot again, but omitting reference and connection lines
plot(rsm, refline = FALSE, lty = c(0, 0))
## Effects plot, similar to effect plots for PCModel's, with
## 'modus' as cutpoint via additional argument 'type'.
plot(rsm, pattern = FALSE, type = "mode")Run the code above in your browser using DataLab