mta: Mean Target Achievement (MTA) Function

Description Usage Arguments Value Examples

Description

The mean target achievement (MTA) function determines the degree of representation target achievement as a value between 0 and 1.

Usage

1
mta(data = list(), target, plot = TRUE)

Arguments

data

data is a dataframe with three columns: feature, ai, and pi. feature is the name of the conservation features (e.g. ecoregions, habitats, species), ai is the total area/amount of conservation features, and pi is the protected area/amount of conservation features.

target

target is the representation target as a value between 0 and 1 (0 is zero protection and 1 is 100% protection).

plot

plots the target and the protected amount of conservation features ordered from low to high. Defaults to TRUE.

Value

mta Mean Target Achievement value (0 is no achievement and 1 is 100% achievement of representation target)
target representation target
N number of conservation features
proportion_protected protected proportion of conservation features as a value from 0 to 1, sorted from low to high

Examples

1
2
3
4
5
6
7
8
# Generate input data
feature <- paste("Ecoregion",1:10)  #conservation feature names
ai      <- c(41,223,1053,520,230,303,343,2684,6507,1010)  #total amount of conservation features
pi      <- c(0,53,282,237,70,5,123,606,2695,496)  #protected amount of conservation features
data    <- data.frame(feature,ai,pi)

# Run the mta function for representation target 0.5 (50% protection of each feature)
mta(data,0.5,plot=FALSE)

KerstinJantke/ConsTarget documentation built on May 26, 2019, 4:38 p.m.