c2rcv first rarefies the richness of the community with highest density to get an estimation of its richness for a density comparable to that of the community with lower density. A randomization test is then performed on the difference between these richnesses. Randomizations are performed under the constraint that the resulting density for both communities is comparable to that of the community with lower density.c2rcv(com1,com2,nrandom,tolerance=0.1,pr1=0.025,pr2=0.975,verbose=FALSE)verbose==TRUE the function returns detailed randomization outputs.dmean.dmean.verbose==TRUE, c2rcv returns 6 additional records of length equal to the number of randomization:nrandom containing the values of the differences between the rarefied cumulative richness and the observed cumulative richness in the other community for each randomization.nrandom containing the values of the randomized differences between the rarefied cumulative richness and the observed cumulative richness in the other community.nrandom containing the density of the community with the largest initial density after rarefaction. These values are as close to the density of the community with lower density as the parameter tolerance is low.nrandom containing the cumulative richness of the rarefied community. These values are to be compared with lowerDS.raref2, c2cv, richdata(efea)
c2rcv(com1=efea$ef,com2=efea$ea,nrandom=99,tolerance=0.01,verbose=FALSE)Run the code above in your browser using DataLab