View source: R/gdm.createsitepair.R
createsitepair | R Documentation |
Creates a site-pair table from the lower half of a site-by-site distance
(dissimilarity) matrix. This function is called from the
formatsitepair
function and not needed by the user.
createsitepair(dist, spdata, envInfo, dXCol, dYCol, siteCol, weightsType,
custWeights)
dist |
The lower half of a site-by-site distance (dissimilarity) matrix,
provided by the |
spdata |
Input species data, the same as the bioData input to the
|
envInfo |
Input environmental data. Only accepts data tables as input.
If the environmental data for |
dXCol |
Input x coordinate, the same as the XColumn input to the
|
dYCol |
Input y coordinate, the same as the YColumn input to the
|
siteCol |
Site column, taken from either the species or environmental tables. |
weightsType |
The method of determining the site-pair weights used in model fitting. |
custWeights |
Custom weights, as a vector, if given by the user. |
A site-pair table with appropriate distance (dissimilarity) and weight columns used for fitting GDM.
This function is called from the formatsitepair
function
and not needed by the user.
formatsitepair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.