flsgen_create_class_structure {rflsgen} | R Documentation |
Creates a predefined landscape class structure that can be converted as JSON input for flsgen generate.
Description
Creates a predefined landscape class structure that can be converted as JSON input for flsgen generate.
Usage
flsgen_create_class_structure(class_name, patch_areas, is_square = FALSE)
Arguments
class_name |
Name of the class |
patch_areas |
Vector of patch areas |
is_square |
If true, all patches are required to be squares |
Value
A landscape class structure
Examples
## Not run:
cls_1 <- flsgen_class_structure("class 1", c(10, 100, 1000))
## End(Not run)
[Package rflsgen version 1.2.2 Index]