Creates a set of targets for a landscape class
Source:R/flsgen_create_class_targets.R
flsgen_create_class_targets.Rd
Creates a set of targets for a landscape class, which can be converted into JSON for flsgen.
Usage
flsgen_create_class_targets(
class_name,
NP = NULL,
AREA = NULL,
AREA_MN = NULL,
CA = NULL,
PLAND = NULL,
PD = NULL,
SPI = NULL,
LPI = NULL,
MESH = NULL,
SPLI = NULL,
NPRO = NULL,
SDEN = NULL,
COHE = NULL,
DIVI = NULL,
IS_SQUARE = FALSE,
ALL_DIFFERENT = FALSE
)
Arguments
- class_name
Name of the class
- NP
number of patches target (must be a vector of length 2)
- AREA
patch area target (must be a vector of length 2)
- AREA_MN
mean patch area target (must be a vector of length 2)
- CA
total class area target (must be a vector of length 2)
- PLAND
proportion of landscape target (must be a vector of length 2)
- PD
patch density target (must be a vector of length 2)
- SPI
smallest patch index target (must be a vector of length 2)
- LPI
largest patch index target (must be a vector of length 2)
- MESH
effective mesh size target (must be a vector of length 2)
- SPLI
splitting index target (must be a vector of length 2)
- NPRO
net product target (must be a vector of length 2)
- SDEN
splitting density target (must be a vector of length 2)
- COHE
degree of coherence target (must be a vector of length 2)
- DIVI
degree of landscape division target (must be a vector of length 2)
- IS_SQUARE
if TRUE, the class is required to only produce square patches
- ALL_DIFFERENT
if TRUE, the class is required to have differently sized patches