Description Usage Arguments Details Value See Also Examples
View source: R/commissionGARP.R
commissionGARP
Calculates the commission, or the proportion of the landscape predicted as present, of the best models output by GARP.
1 | commissionGARP(n, x, points, file.path)
|
n |
a numeric value specifying the number of models in the best subset output from GARP |
x |
a raster object of the summated raster of the best models output from GARP |
points |
a spatial object of presence data to use for testing locations |
file.path |
file directory of folder containing best model rasters output from GARP (usually within athe "GARPruns folder") |
The discrete cutpoints (n
) represent the number of models that agree on a predicted presence location.
The raster object (x
) should be a raster representing the number of models that agree on a predicted presence location per pixel and that outtput by sumRasters
.
The shapefile points
should presence locations that were not used by GARP for model training and those output by splitData
.
A list object containing:
Average.Commission
the average commission of the model subset
Total.Commission
the total commission of the model subset
1 2 3 4 | ## Not run:
commissionGARP(n = 10, x = sum.raster, points = test_1, file.path = "C/GARPruns/BestSubsets/")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.