Skip to contents

Plot dpmirt_sim object

Usage

# S3 method for class 'dpmirt_sim'
plot(x, type = c("parameters", "response"), ...)

Arguments

x

A dpmirt_sim object.

type

Character. Plot type: "parameters" (histograms of true parameters) or "response" (heatmap of response matrix).

...

Additional graphical parameters.

Value

Invisibly returns the input dpmirt_sim object.

Examples

if (FALSE) { # \dontrun{
sim <- dpmirt_simulate(200, 20, model = "rasch", seed = 42)

# True parameter histograms
plot(sim, type = "parameters")

# Response matrix heatmap
plot(sim, type = "response")
} # }