Description Usage Arguments Details Value See Also Examples
extractRules
Extract the dominant range rules and logit rules for the best subset models
1 | extractRules(file, table, pathA, pathB, project)
|
file |
file name or file path of the ".txt" file of rulesets generated by GARP |
table |
a data.frame object produced by |
pathA |
file path to the directory containing environmental grids (must be in ESRI ASCII raster format) |
pathB |
file path to the directory for ruleset grids produced by GARP |
project |
logical; indicates if the GARP results are projected to the landscape |
Include both the path and the full file name in file
, otherwise, set the directory to the rulesets file before running the function.
Returns a data.frame containing the minimum and maximum values for the environmental variables in each rule, the type of rules, the model numbers (ruleset number) and rule numbers.
1 2 3 4 5 | ## Not run:
rangelogit <- extractRules("C:/GARP/RuleSets.txt", table = modelRule,
pathA = "C:/GARP/resampled/", pathB = "C:/GARP/runs/", project = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.