Learn R Programming

kst (version 0.5-0)

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, …)

Arguments

x

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

Currently not used.

Value

An R object of class relation.

Details

as.relation takes an arbitrary knowledge structure and computes its underlying surmise relation, i.e., the set of item paris corresponding to the knowledge dependencies. 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
# NOT RUN {
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