gdm.transformfromtable: Transforming Predictor Data Using A Generalized Dissimilarity...

Description Usage Arguments Value Examples

Description

This function transforms a table of geographic and environmental predictors using the results of a model object returned from gdm.fitfromtable and a data frame environmental data for a set of sites formatted as follows: X0,Y0,Pred1,Pred2,...,PredN is Geographic distance is used as a predictor otherwise Pred1,Pred2,...,PredN

Usage

1

Arguments

model

a gdm model object resulting from a call to gdm.fitfromtable

data

a data frame representing a set of sites with the X and Y values in the first two columns if the model uses geographic distance as a predictor. The predictor values follow. Note that the order of the predictor columns MUST be the same as the order of the predictors in the model.

Value

gdm.transformfromtable returns a data frame with the same number of rows as the input data frame. If the model uses geographic distance as a predictor the output table will have the first and second columns set to the transformed X and Y values from each site in the input table. The transformed predictor data will be in the following columns.

Examples

1
## Not run: mytransform <- gdm.transformfromtable(mymodel,mydata)

gdm documentation built on May 2, 2019, 6:03 p.m.