Description Usage Arguments Value
Creates an adjacency matrix from a bigram dataframe
(see bigrams
). The matrix's rows are the nodes and the columns
are the neighbors.
1 | adjacency_matrix(bigrams, binary = TRUE, left = FALSE)
|
bigrams |
Bigram dataframe form ocunR::bigrams() |
binary |
TRUE if binary, FALSE if frequency of bigram |
left |
TRUE if left direction, FALSE if right direction |
A matrix with the names of each morph/word as row/column names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.