I have a matrix ("g") and I'm trying to remove isolates (unconnected nodes). I tried using delete_isolates(g) in the hierformR package, and I tried using in the corpustools package.
Both times I got an error: Error in delete_isolates(g) : could not find function "delete_isolates"
How do I remove unconnected nodes from my matrix?