as.relation: Surmise Relations of Knowledge Structures

Description Usage Arguments Details Value References See Also Examples

Description

Computes the surmise relation of knowledge structures.

Usage

1
2
  ## S3 method for class 'kstructure'
as.relation(x, ...)

Arguments

x

An R object of class kstructure.

...

Currently not used.

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.

Value

An R object of class relation.

References

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

See Also

kstructure, relation, plot.relation

Examples

1
2
3
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)

Example output

Loading required package: proxy

Attaching package: 'proxy'

The following objects are masked from 'package:stats':

    as.dist, dist

The following object is masked from 'package:base':

    as.matrix

Loading required package: relations
Loading required package: sets
A binary relation of size 5 x 5.

kst documentation built on May 30, 2017, 7:20 a.m.

Related to as.relation in kst...