flsgen_create_class_structure: Creates a predefined landscape class structure that can be...

View source: R/flsgen_create_class_structure.R

flsgen_create_class_structureR 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)


dimitri-justeau/rflsgen documentation built on May 31, 2024, 8:15 a.m.