View source: R/as.binaryMatrix.R
| as.binaryMatrix | R Documentation |
Computes the matrix representation of a knowledge structure.
as.binaryMatrix(x)
x |
An R object of class |
as.binaryMatrix takes an arbitrary family of sets in set
representation and computes its matrix form.
An R object of class kmfamset. Further class specifications of x
(e.g. kspace or kbasis) are also transferred.
as.famset
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.binaryMatrix(kst)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.