Learn R Programming

TAM (version 1.6-0)

plotDevianceTAM: Deviance Plot for TAM Objects

Description

Plots the deviance change in every iteration.

Usage

plotDevianceTAM(tam.obj, omitUntil = 1, reverse = TRUE)

Arguments

tam.obj
Object of class tam.mml, tam.mml.2pl or tam.mml.mfr.
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 TRUE.

Examples

Run this code
#############################################################################
# EXAMPLE 1: deviance plot dichotomous data
#############################################################################
data(sim.rasch)

# 2PL model
mod1 <- tam.mml.2pl(resp=sim.rasch ) 
# plot deviance change
plotDevianceTAM( mod1 )

Run the code above in your browser using DataLab