plotDevianceTAM | R Documentation |
Plots the deviance change in every iteration.
plotDevianceTAM(tam.obj, omitUntil=1, reverse=TRUE, change=TRUE)
tam.obj |
Object of class |
omitUntil |
An optional value indicating number of iterations to be omitted for plotting. |
reverse |
A logical indicating whether the deviance change should be
multiplied by minus 1. The default is |
change |
An optional logical indicating whether deviance change or the deviance should be plotted. |
Martin Hecht, Sebastian Weirich, Alexander Robitzsch
#############################################################################
# EXAMPLE 1: deviance plot dichotomous data
#############################################################################
data(data.sim.rasch)
# 2PL model
mod1 <- TAM::tam.mml.2pl(resp=data.sim.rasch )
# plot deviance change
plotDevianceTAM( mod1 )
# plot deviance
plotDevianceTAM( mod1, change=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.