I have just started working with R, and this is the first time I\'ve dealt with network analysis. I want to compute closeness centrality measure on a network with disconnect