coef {ltm} | R Documentation |
Extracts the estimated parameters from either grm
, ltm
or rasch
objects.
## 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, ...)
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. |
A list or a matrix of the estimated parameters for the fitted model.
Dimitris Rizopoulos dimitris.rizopoulos@med.kuleuven.be
m <- grm(Science[c(1,3,4,7)]) coef(m) m <- ltm(Lsat ~ z1) coef(m, TRUE, TRUE) m <- rasch(Lsat) coef(m, TRUE)