Experimenting with network analysis in R