Learn R Programming

kst (version 0.5-4)

as.relation: Surmise Relations of Knowledge Structures

Description

Computes the surmise relation of knowledge structures.

Usage

# S3 method for kstructure
as.relation(x, ...)
  # S3 method for kbase
as.relation(x, ...)
  # S3 method for kfamset
as.relation(x, ...)

Value

An R object of class relation.

Arguments

x

An R object of class kstructure, kbase, or kfamset.

...

Currently not used.

Details

as.relation takes an arbitrary knowledge structure and computes the surmise relation of the corresponding quasi-ordinal knowledge space. Antisymmetric (and transitive) surmise relations may then be plotted as a Hasse diagram.

References

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

See Also

kstructure, kbase, kfamset, relation, plot

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")))
as.relation(kst)

Run the code above in your browser using DataLab