Creates a predefined landscape class structure that can be converted as JSON input for flsgen generate.
Source:R/flsgen_create_class_structure.R
flsgen_create_class_structure.Rd
Creates a predefined landscape class structure that can be converted as JSON input for flsgen generate.
Arguments
- class_name
Name of the class
- patch_areas
Vector of patch areas
- is_square
If true, all patches are required to be squares
Examples
if (FALSE) {
cls_1 <- flsgen_class_structure("class 1", c(10, 100, 1000))
}