Re: [R] Separating Output of Modularity Analyses

2019-11-19 Thread Jim Lemon
Hi Chelsea, A brute force method, but I think it does what you want: # create a sequence of integers to make checking easy null.cz<-1:68 separate_interdigitated_vectors<-function(x,nv=2,vlen=17) { xlen<-length(x) starts<-seq(1,xlen-vlen*nv+1,by=vlen*nv) cat(xlen,starts,"\n") for(start in start

[R] Separating Output of Modularity Analyses

2019-11-19 Thread Chelsea Hinton
Hello, I am working to evaluate the structure of shrub-pollinator networks using modularity analyses. I have generated 100 null model networks to test for modularity and extract c and z scores for each (measuring statistical significance in real networks). However, the output of the "czvalues" for