powered by
Base graphics plotting function for Bradley-Terry models.
# S3 method for btmodel plot(x, worth = TRUE, index = TRUE, names = TRUE, ref = TRUE, abbreviate = FALSE, type = NULL, lty = NULL, xlab = "Objects", ylab = NULL, …)
an object of class "btmodel".
"btmodel"
logical. Should worth parameters (or alternatively coefficients on log-scale) be displayed?
logical. Should different indexes for different items be used?
logical. Should the names for the objects be displayed?
logical. Should a horizontal line for the reference level be drawn?
logical or numeric. Should object names be abbreviated? If numeric this controls the length of the abbreviation.
plot type. Default is "b" if index is TRUE.
"b"
index
TRUE
line type.
x and y axis labels.
further arguments passed to plot.
plot
btmodel
# NOT RUN { ## data data("GermanParties2009", package = "psychotools") ## Bradley-Terry model bt <- btmodel(GermanParties2009$preference) plot(bt) plot(bt, worth = FALSE) plot(bt, index = FALSE) # }
Run the code above in your browser using DataLab