ktrace {kst}R Documentation

Trace of Knowledge Structures

Description

Computes the trace of knowledge structures.

Usage

  ktrace(x, items)

Arguments

x

An R object of class kstructure.

items

A set of items for which the trace is computed.

Details

The trace of a knowledge structure K on a set A is the substructure of the knowledge structure K on the set A, i.e., the substructure resulting from restricting the knowledge structure K to the items specified in A.

Value

An R object of class kstructure where each element represents one knowledge state of the knowledge structure on the item specified in items.

References

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

See Also

kstructure

Examples

kst <- 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")))
ktrace(kst, items=set("c","d","e"))

[Package kst version 0.5-4 Index]