marxan_alphas: Marxan: Alpha irreplaceabilities

Description Usage Arguments Details Value Author(s) Examples

View source: R/marxan.R

Description

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.

Usage

1
marxan_alphas(input, triage = FALSE)

Arguments

input

string - The address of the input.dat file.

triage

logical - Should features with unachievable targets be given an irreplaceability of 0? See alpha.

Details

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.

Value

A data.frame

Author(s)

Daniele Baisero, daniele.baisero@gmail.com

Examples

1
2
3
4
5
## Not run: 
marxan_alphas('/data/marxan/analysis01/input.dat')
marxan_alphas('C:\data\marxan\analysis01\input.dat')

## End(Not run)

proxirr documentation built on Nov. 14, 2021, 1:07 a.m.