I am new to R and Network theory. I would like to calculate the cluster correlation to investigate the structural equivalence of my data. I have been looking for a solution of the problem for quite some time now, also in this forum. I could find relevant contributions, but could not find out a solution for my problem.
The first note I should make is that I stacked directed network matrices on top of each other (one transposed and one not transposed for the directed network data). Following the structure http://www.imsbio.co.jp/RGM/R_rdfile?f=NetCluster/man/clusterCorr.Rd&d=R_CC
when I calculate
clustered_observed_cors <- clustConfigurations(num_vertices, advice_m1_money_m1_kinship_m1_hclust, advice_m1_money_m1_kinship_m1_cors)
the program stops and I cannot compute anything anymore until I hit the red stop button in the bottom left window of R Studio. That's my problem. does anyone have an idea what could be the reason for this being the case?
The error I get is
In cor(as.vector(d[g1[i], , ]), as.vector(d[g2[j], , ]), use = "complete.obs") :
the standard deviation is zero
Any help appreciated, Simon