Description Usage Arguments Value Note Author(s)
View source: R/GDM_Table_Funcs.R
Takes the lower half of a site-site distance(dissimilarity) matrix and creates the site-pair table. This function is called from the formatgdmData function and should not need to be used directly by the user.
1 | createsitepair(dist, spdata, envInfo, dXCol, dYCol, siteCol, predMatrices, weightsType, custWeights)
|
dist |
The lower half of a site-site distance(dissimilarity) matrix, provided by the formatgdmData function. |
spdata |
Input species data, the same as the bioData input to the formatgdmData function. |
envInfo |
Input environmental data, the same as the predData input to the formatgdmData function. |
dXCol |
Input x coordinate, the same as the XColumn input to the formatgdmData function. |
dYCol |
Input y coordinate, the same as the YColumn input to the formatgdmData function. |
siteCol |
site column, taken from either the species or environmental tables |
predMatrices |
Prediction matrices to be added to the site-pair table |
weightsType |
the method of determining the site-pair weights |
custWeights |
custom wieghts, as a vector, if given |
A site-pair table with appropriate distance(dissimilarity) and weight columns used for farther GDM analysis.
This function is called from the gdm.formatsitepair function, and the user should not need to access directly.
Matthew Fitzpatrick <mfitzpatrick@al.umces.edu>, Matthew Lisk <mlisk@al.umces.edu>, others
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.