Description Usage Arguments Details Value See Also Examples
Targets are used to specify the minimum amount or proportion of a feature"s
distribution that needs to be protected. Below is a list of different
targets that can be added to a conservation planning problem
.
1 2 3 4 5 6 7 8 9 10 11 12 | add_default_targets(x)
add_relative_targets(x, targets, ...) # x=ConservationProblem, targets=numeric
add_relative_targets(x, targets, ...) # x=ConservationProblem, targets=character
add_absolute_targets(x, targets, ...) # x=ConservationProblem, targets=numeric
add_absolute_targets(x, targets, ...) # x=ConservationProblem, targets=character
add_loglinear_targets(x, lower_bound_amount, lower_bound_target,
upper_bound_amount, upper_bound_target)
|
x |
|
lower_bound_amount |
|
lower_bound_target |
|
upper_bound_amount |
|
upper_bound_target |
|
targets |
|
... |
not used. |
default_targets
The default targets are used when targets have not explicitly been set using the above functions. The creators of this package do not believe that there can be any sensible default targets. Thus relying on the default target will yield an error.
relative_targets
Targets are expressed as a proportion
(between 0
and 1) of the maximum level of representation in the study area.
The argument to x
should have a single value if all features
have the same target. Otherwise, the vector should have a value for
each feature. In this case, targets are assigned to features based
on the their position in the argument to x
and the
feature
when specifying the problem.
absolute_targets
Targets are expressed as the actual value
that needs to be represented in the prioritisation. The argument to
x
is treated the same as for relative_targets
.
loglinear_targets
Targets are expressed as a proportion (between 0 and 1) which is calculated using a log-linear equation and four tuning parameters (as used in XXX et al. XXX). The first tuning parameter specifies the first cut-off range size, and the second the second cut-off range size, the third argument specifies the target required for species with a range size equal to or less than the first cut-off range size, and the fourth argument specifies the target required for species with a range size equal to or greater than the required range size.
ConservationProblem-class
object with the target added
to it.
constraints
, objectives
,
problem
, add_feature_weights
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # load data
data(sim_pu_raster, sim_features)
# create basic problem
p <- problem(sim_pu_raster, sim_features) %>%
add_min_set_objective()
# create problem with added relative targets
p1 <- p %>% add_relative_targets(0.1)
# create problem with added absolute targets
p2 <- p %>% add_absolute_targets(3)
# create problem with added log-linear target
p3 <- p %>% add_loglinear_targets(10, 0.9, 100, 0.2)
# solve solutions
s <- stack(solve(p1), solve(p2), solve(p3))
# plot solutions
plot(s, main=c("relative targets", "absolute targets",
"log-linear targets"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.