powered by
Function to calculate the correlation coefficient for pairwise comparisons between geographic range measures
GeoCor(GeoRange, Start = 1, method = "pearson")
- A matrix of taxa by geographic range calculations, as from the GeoRange_MultiTaxa function
- The column index value where geographic range measures to be compared starts
- The correlation method to be used. See the cor() function for available inputs
Returns a sparse pairwsie matrix of correlation coefficients
See the velociraptr package for details of the downloadPBDB() function
data(BivalvePBDB) BivalveMatrix<-CoordList_PBDB(BivalvePBDB) testBivalve<-GeoRange_MultiTaxa(OccMatrix=BivalveMatrix,TaxaStart=3) GeoCor(testBivalve,Start=1,method="kendall")
Run the code above in your browser using DataLab