Convert igraph R objects to Gexf GePhi format

GePhi has interesting visualization capabilities built around graphs – and igraph is one of the widely used graph processing libraries for R. But there is no straightway to combine these two at present in R. The gexf format used by GePhi is not currently supported by the igraph package. GePhi has its own package, the…

3

Make Vectorize your friend in R

Old habits die hard. For someone coming from linear programming models such as C++ or Java, it takes quite a bit of effort before a fully-compliant R functions can be developed. The major pit-fall is, defining a function that is not vector-compliant. For example, consider the below function that accepts two numbers and returns some…

0