Computes the base of a knowledge space.

kbase(x)

Arguments

x

An R object of class kspace.

Details

A base for a knowledge space is a minimal family of knowledge states spanning the knowledge space, i.e., the base includes the minimal states sufficient to reconstruct the full knowledge space. A knowledge structure has a base only if it is a knowledge space.

Value

A kbase, i.e. a set of sets where each subset represents one knowledge state of the base.

References

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

See also

Examples

kst <- kspace(kstructure(set(set("a"), set("a","b"), set("a","c"), set("d","e"), set("a","b","d","e"), set("a","c","d","e"), set("a","b","c","d","e")))) kbase(kst)
#> {{"a"}, {"a", "b"}, {"a", "c"}, {"d", "e"}}