Skip to contents

Plot expected scores by items

Usage

ESplot(
  fit,
  selected_item,
  theta = seq(-4, 4, 0.1),
  base_size = 16,
  line_size = 1,
  cal_option = "D"
)

Arguments

fit

an object from runGRM

selected_item

a numeric indicating for what items the function makes plots

theta

a numeric indicating latent traints

base_size

a numeric indicating the base font size

line_size

a numeric indicating the size of line

cal_option

a character indicating the plot color specified in scale_color_viridis_d (default = D)

Value

a ggplot object.

Details

This makes a expected score plot