Learn R Programming

DAKS (version 2.1-3)

imp2state: Transformation from Implications to Knowledge States

Description

imp2state transforms a set of implications (ought to be a surmise relation) to the corresponding set of knowledge states (the quasi ordinal knowledge space).

Usage

imp2state(imp, items)

Arguments

imp
a required object of class set representing the set of implications, for instance obtained from a call to iita.
items
a required numeric giving the number of items of the domain taken as basis for imp.

Value

If the arguments imp and items are of required types, imp2state returns a matrix consisting of ones or zeros (the quasi ordinal knowledge space), in which each row represents the $1$/$0$-pattern of a knowledge state.

References

Doignon, J.-P. and Falmagne, J.-C. (1999) Knowledge Spaces. Berlin, Heidelberg, and New York: Springer-Verlag.

Uenlue, A. and Sargin, A. (2010) DAKS: An R package for data analysis methods in knowledge space theory. Journal of Statistical Software, 37(2), 1--31. URL http://www.jstatsoft.org/v37/i02/.

See Also

state2imp for transformation from knowledge states to implications. See also DAKS-package for general information about this package.

Examples

Run this code
x <- iita(pisa, v = 1)
imp2state(x$implications, ncol(pisa))

Run the code above in your browser using DataLab