coef.mdf {mudfold} | R Documentation |
Generic coef
method for S3 class "mdf"
objects.
Description
This function extracts person and/or item parameters obtained after fitting MUDFOLD to binary preferential-choice data.
Usage
## S3 method for class 'mdf'
coef(object, type, ...)
Arguments
object |
: A fitted object of class |
type |
: Argument that controls the type of parameters to be returned. If |
... |
: not in use at the current version of the package. |
Value
A vector when type="persons"
or type="items"
. Alist when type="all"
.
Author(s)
Spyros E. Balafas (s.balafas@rug.nl)
References
W.H. Van Schuur.(1984). Structure in Political Beliefs: A New Model for Stochastic Unfolding with Application to European Party Activists. CT Press.
W.J. Post. (1992). Nonparametric Unfolding Models: A Latent Structure Approach. M & T series. DSWO Press.
W.J. Post. and T.AB. Snijders. (1993). Nonparametric unfolding models for dichotomous data. Methodika.
Examples
## load the ANDRICH data
data("ANDRICH")
## fit a MUDFOLD scale to the ANDRICH data
mudf_andrich <- mudfold(ANDRICH)
## obtain the parameters from the fitted object
coef(mudf_andrich)