makelangnet: Converts a list of words to an igraph network object. SINGLE...

Description Usage Arguments Value Examples

Description

Converts a list of words to an igraph network object. SINGLE LAYER Note that makelangnet is simply a wrapper for the tolangnet and nodeindex functions.

Usage

1
makelangnet(wordlist)

Arguments

wordlist

A list of words. *Must be a character vector.*

Value

An igraph object of the language network created from wordlist.

Examples

1
2
3
somewords <- c('cat', 'bat', 'cap', 'cape')
somewordsnet <- tolangnet(somewords)
plot(somewordsnet) #plots the graph

csqsiew/netlangr documentation built on May 4, 2019, 10:54 a.m.