getk: Compute k (used in specifying polynomial order) for a single...

View source: R/MPfunctions.R

getkR Documentation

Compute k (used in specifying polynomial order) for a single item.

Description

Compute k (used in specifying polynomial order) for a single item.

Usage

getk(x, j)

Arguments

x

Fitted mxModel (e.g., from fitMP or k matrix that contains a "1" in some row indicating the value of k for each item (e.g., as generated by newkmat).

j

Item index.

Details

This seems to work at auto-detecting k when the item is an MP item I suppose if this is used on an item that isn't an MP item, it'll yield some value, but that value sure won't be k.


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