fitted.ltm {ltm}R Documentation

fitted values for ltm objects

Description

Computes the expected frequencies for a matrix of response patterns.

Usage

## S3 method for class 'ltm':
fitted(object, resp.patterns = NULL, ...)

Arguments

object an object inheriting from class ltm.
resp.patterns a matrix of response patterns with columns denoting the items; if NULL the expected frequencies are computed for the observed response patterns.
... additional arguments; currently none is used.

Value

a numeric matrix including the response patterns of interest with the their expected frequencies.

Author(s)

Dimitris Rizopoulos dimitris.rizopoulos@med.kuleuven.be

See Also

ltm

Examples


m <- ltm(Wirs ~ z1)
fitted(m)


[Package ltm version 0.3-0 Index]