Learn R Programming

GDINA (version 2.9.4)

plot.itemfit: Item fit plots

Description

Create plots of bivariate heatmap for item fit

Usage

# S3 method for 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

Run this code
if (FALSE) {
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")
}

Run the code above in your browser using DataLab