IRT.data.tam | R Documentation |
Extracts the used data set for models
fitted in TAM. See CDM::IRT.data
for more details.
## S3 method for class 'tam.mml'
IRT.data(object, ...)
## S3 method for class 'tam.mml.3pl'
IRT.data(object, ...)
## S3 method for class 'tamaan'
IRT.data(object, ...)
object |
Object of class |
... |
Further arguments to be passed |
A dataset with item responses
## Not run:
#############################################################################
# EXAMPLE 1: Dichotomous data data.sim.rasch
#############################################################################
data(data.sim.rasch)
dat <- data.sim.rasch
# estimate model
mod1 <- TAM::tam.mml(dat)
# extract dataset (and weights and group if available)
dmod1 <- IRT.data(mod1)
str(dmod1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.