Description Usage Arguments Details Value See Also Examples

View source: R/as.binaryMatrix.R

Computes the matrix representation of a knowledge structure.

1 |

`x` |
An |

`as.binaryMatrix`

takes an arbitrary knowledge structure in set
representation and computes its matrix form.

An **R** object of class `matrix`

.

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.binaryMatrix(kst)
``` |

kst documentation built on Sept. 21, 2018, 6:23 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.