Description Details Author(s) Examples
This package is used to calculate two different metrics of representation target achievement in reserve networks. It comes with the two functions mpg and mta. mpg function: The mean protection gap (MPG) function determines the degree of representation target shortfall as a value between 0 and 1. mta function: The mean target achievement (MTA) function determines the degree of representation target achievement as a value between 0 and 1.
Package: | ConsTarget | |
Type: | Package | |
Version: | 0.1 | |
Date: | 2018-08-20 | |
License: | GPL 2 | GPL 3 | |
Lazyload: | yes |
Kerstin Jantke <kerstin.jantke@uni-hamburg.de>
1 2 3 4 5 6 7 8 9 10 11 | # 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 mpg function for representation target 0.3 (30% protection of each feature)
mpg(data,0.3,plot=TRUE)
# Run the mta function for representation target 0.5 (50% protection of each feature)
mta(data,0.5,plot=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.