Plot tau contrast between two models

plot_tau_contrast(
  model,
  model_old,
  detrended = TRUE,
  ylim = c(-10, 10),
  colors = c("#0072B2", "#D55E00", "#999999"),
  fontcolor = "white"
)

Arguments

model

A dmodel object containing the new itembank and item_fit.

model_old

A dmodel object containing the old itembank and item_fit.

detrended

Logical, if TRUE, plot the difference in tau values.

ylim

Numeric vector of length 2, specifying the y-axis limits.

colors

Character vector of colors for the item categories.

fontcolor

Character, color for the hover label font.

Value

A plotly object representing the tau contrast plot.