Description Usage Arguments Value Note See Also Examples
Function to calculate the correlation coefficient for pairwise comparisons between geographic range measures
1 | GeoCor(GeoRange, Start = 1, method = "pearson")
|
GeoRange |
- A matrix of taxa by geographic range calculations, as from the GeoRange_MultiTaxa function |
Start |
- The column index value where geographic range measures to be compared starts |
method |
- The correlation method to be used. See the cor() function for available inputs |
Returns a sparse pairwsie matrix of correlation coefficients
The correlation calculation uses the "pairwise.complete.obs" option from the cor function so that only complete pairs of observations are used, pairs containing an NA are ignored
See the velociraptr package for details of the downloadPBDB() function
1 2 3 4 5 6 7 | ## Not run:
data(BivalvePBDB)
BivalveMatrix<-CoordList_PBDB(BivalvePBDB)
testBivalve<-GeoRange_MultiTaxa(OccMatrix=BivalveMatrix,TaxaStart=3)
GeoCor(testBivalve,Start=1,method="kendall")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.