coef {ltm}R Documentation

Extract Estimated Loadings

Description

Extracts the estimated parameters from either grm, ltm or rasch objects.

Usage


## S3 method for class 'grm':
coef(object, ...)

## S3 method for class 'ltm':
coef(object, standardized = FALSE, prob = FALSE, ...)

## S3 method for class 'rasch':
coef(object, prob = FALSE, ...)

Arguments

object an object inheriting from either class grm, class ltm or class rasch.
standardized logical; if TRUE the standardized loadings are also returned. See Details for more info.
prob logical; if TRUE the probability of a positive response for the median individual (i.e., Pr(x_i = 1 | z = 0), with i = 1, ..., p denoting the items) is also returned.
... additional arguments; currently none is used.

Value

A list or a matrix of the estimated parameters for the fitted model.

Author(s)

Dimitris Rizopoulos dimitris.rizopoulos@med.kuleuven.be

See Also

grm, ltm, rasch

Examples


m <- grm(Science[c(1,3,4,7)])
coef(m)

m <- ltm(Lsat ~ z1)
coef(m, TRUE, TRUE)

m <- rasch(Lsat)
coef(m, TRUE)


[Package ltm version 0.4-1 Index]