Skip to contents

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

  if (FALSE) {
    cls_1 <- flsgen_class_structure("class 1", c(10, 100, 1000))
  }