extractItem: Extracts useful information about a single item from a fitted...

View source: R/MPfunctions.R

extractItemR Documentation

Extracts useful information about a single item from a fitted MP model and returns all of these values in a list

Description

Extracts useful information about a single item from a fitted MP model and returns all of these values in a list

Usage

extractItem(x, j, mp = TRUE)

Arguments

x

Fitted mxModel, e.g., from fitMP.

j

Item index

mp

Whether the item in question is an MP model (otherwise, don't compute k)

Value

A list with the item parameters (pars), number of categories (ncat), item model generated from rpf (spec), and possibly the integer (k) that controls polynomial order.

Examples


# TODO examples here


falkcarl/mpirt documentation built on July 11, 2024, 12:09 a.m.