Learn R Programming

raptr (version 0.0.3)

maximum.targets: Maximum targets

Description

This function accepts a RapUnsolved object and returns a data.frame containing the amount-based and space-based targets for each species and attribute space. These are calculated using a prioritisation that contains all the available planning units. Note that the maximum amount-based targets are always 1.

Usage

maximum.targets(x, verbose)

# S3 method for RapUnsolOrSol maximum.targets(x, verbose = FALSE)

Arguments

x

RapUnsolved or RapSolved object.

verbose

logical should messages be printed during calculations? Defaults to FALSE.

Value

data.frame object.

Examples

Run this code
# NOT RUN {
# load RapSolved objects
data(sim_ru)
# calculate maximum metrics
maximum.targets(sim_ru)
# }

Run the code above in your browser using DataLab