RapData-class {raptr} | R Documentation |
RapData: An S4 class to represent RAP input data
Description
This class is used to store RAP input data.
Slots
polygons
PBSmapping::PolySet()
planning unit spatial data orNULL
if data not available.pu
base::data.frame()
planning unit data. Columns must be "cost" (numeric
), "area" (numeric
), and "status" (integer
).species
base::data.frame()
with species data. Columns must be "name" (character
.targets
base::data.frame()
with species data. Columns must be "species" (integer
), "target" (integer
), "proportion" (numeric
).pu.species.probabilities
base::data.frame()
with data on the probability of species in each planning unit. Columns must be "species" (integer
), "pu" (integer
), and "value" (numeric
).attribute.spaces
list
ofAttributeSpaces
objects with the demand points and planning unit coordinates.boundary
base::data.frame()
with data on the shared boundary length of planning units. Columns must be "id1" (integer
), "id2" (integer
), and "boundary" (numeric
).skipchecks
logical
Skip data integrity checks? May improve speed for big data sets..cache
base::environment()
used to cache calculations.