plot.btreg: Visualization of Bradley-Terry Models

Description Usage Arguments See Also Examples

Description

Flexible function for visualizing coefficients/worth parameters from a Bradley-Terry model.

Usage

1
2
3
4
## S3 method for class 'btreg'
plot(x, 
  worth = TRUE, index = TRUE, names = TRUE, ref = TRUE, abbreviate = FALSE,
  type = NULL, lty = NULL, xlab = "Objects", ylab = NULL, ...)

Arguments

x

an object of class "btreg" as fitted by btreg.

worth

logical. Should worth parameters (or their logs) be visualized?

index

logical. Should different indexes for different stimuli be used?

names

logical. Should the names for the objects be displayed?

ref

logical. Should a horizontal line for the reference level be drawn?

abbreviate

logical or numeric. Should object names be abbreviated? If numeric this controls the length of the abbreviation.

type, lty, xlab, ylab, ...

graphical parameters.

See Also

btreg

Examples

1
2
3
data("CEMSChoice", package = "psychotree")
cems <- btreg(preference ~ 1, data = CEMSChoice)
plot(cems)

prefmod2 documentation built on May 2, 2019, 5:20 p.m.