hermits: *background function* Extract list of hermits (nodes with no...

Description Usage Arguments Value Examples

Description

*background function* Extract list of hermits (nodes with no neighbors) from an igraph network object.

Usage

1
hermits(langnet)

Arguments

langnet

An igraph object created using the tolangnet function and with label names created with the nodeindex function.

Value

A list of hermits (nodes with no neighbors).

Examples

1
2
3
4
5
somewords <- c('cat', 'bat', 'cap', 'cape')
somewordsnet <- tolangnet(somewords)
somewordsnet <- nodeindex(somewordsnet, somewords)
somewords.hermits <- hermits(somewordsnet)
hermits # to view hermits

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