View source: R/flsgen_create_class_structure.R
flsgen_create_class_structure | R Documentation |
Creates a predefined landscape class structure that can be converted as JSON input for flsgen generate.
flsgen_create_class_structure(class_name, patch_areas, is_square = FALSE)
class_name |
Name of the class |
patch_areas |
Vector of patch areas |
is_square |
If true, all patches are required to be squares |
A landscape class structure
## Not run:
cls_1 <- flsgen_class_structure("class 1", c(10, 100, 1000))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.