marxan_alphas | R Documentation |
Given a valid Marxan input.dat file, it returns a copy of the PUVSPRNAME file (puvspr.dat), with additional columns containing the feature's global value, target value, and alpha irreplaceability.
marxan_alphas(input, triage = FALSE)
input |
string - The address of the input.dat file. |
triage |
logical - Should features with unachievable targets be given an
irreplaceability of 0? See |
The global value is obtained as the sum of the feature's "amount" column in PUVSPRNAME.
The target value is obtained from the SPECNAME file (spec.dat), either as the proportion of the global value (if the "prop" column is present in SPECNAME), or as the "target" value in SPECNAME (otherwise). This behaviour mirrors Marxan's default behaviour.
A data.frame
Daniele Baisero, daniele.baisero@gmail.com
## Not run:
marxan_alphas('/data/marxan/analysis01/input.dat')
marxan_alphas('C:\data\marxan\analysis01\input.dat')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.