marxan_alphas: Marxan: Alpha irreplaceabilities

View source: R/marxan.R

marxan_alphasR Documentation

Marxan: Alpha irreplaceabilities

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

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

## Not run: 
marxan_alphas('/data/marxan/analysis01/input.dat')
marxan_alphas('C:\data\marxan\analysis01\input.dat')

## End(Not run)

proxirr documentation built on May 29, 2024, 9:38 a.m.