plot.itemfit: Item fit plots

View source: R/plotIRF.GDINA.R

plot.itemfitR Documentation

Item fit plots

Description

Create plots of bivariate heatmap for item fit

Usage

## S3 method for class 'itemfit'
plot(x, type = "all", adjusted = TRUE, ...)

Arguments

x

model object of class itemfit

type

type of heatmap plot

adjusted

logical; plot adjusted or unadjusted p-values?

...

additional arguments

See Also

GDINA, itemfit

Examples

## Not run: 
dat <- sim10GDINA$simdat
Q <- sim10GDINA$simQ

fit <- GDINA(dat = dat, Q = Q, model = "GDINA")
ift <- itemfit(fit)
# plot the adjusted p values for log odds or transformed correlation
plot(ift)
# plot unadjusted p values for log odds
plot(ift,adjusted = FALSE, type = "logOR")

## End(Not run)

GDINA documentation built on July 9, 2023, 6:16 p.m.