On Thursday, I showed an R script for pre-processing data for use with Gephi, a network analysis and visualization tool. I’ve published the script, along with an explanation of it, here.
The script uses the
combn() function, which takes a vector of items and creates all pairwise (or three-way, or four-way, etc.) combinations of them. It’s a multifunctional tool to have in one’s toolbox.