Learn R Programming

rflsgen (version 1.2.2)

flsgen_create_class_structure: 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)

Value

A landscape class structure

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

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

Run the code above in your browser using DataLab