Learn R Programming

kst (version 0.5-4)

ktrace: Trace of Knowledge Structures

Description

Computes the trace of knowledge structures.

Usage

ktrace(x, items)

Value

An R object of class kstructure where each element represents one knowledge state of the knowledge structure on the item specified in 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.

References

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

See Also

kstructure

Examples

Run this code
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"))

Run the code above in your browser using DataLab