clue: CLUE

Description Usage Arguments Value Examples

View source: R/allocate.R

Description

Allocate land use change using the CLUE algorithm.

Usage

1
2
3
clue(lu0.vals, regr, demand, elasticity, change.rule, min.elasticity,
  max.elasticity, min.change, max.change, min.value, max.value,
  max.iteration, max.difference, cell.area, ncell, ncode)

Arguments

lu0.vals

matrix containing non-NA values from lu0

regr

matrix containing...

demand

matrix with demand for each land use category in terms of number of cells to be allocated. The first row should be the number of cells allocated to the initial land use map, the second row should be the number of cells to allocate in the subsequent time point

elasticity

Initial elasticity value. Default is 0.1

change.rule

numeric vector specifying for each land use whether change is allowed in either direction (0), allowed in the direction of demand only (-1) or not allowed (1)

min.elasticity

Minimum elasticity value. Default is 0.001

max.elasticity

Maximum elasticity value. Default is 1.5

min.change

numeric vector indicating for each land use the minimum amount of change that is allowed to occur in one time step

max.change

numeric vector indicating for each land use the maximum amount of change that is allowed to occur in one time step

min.value

numeric vector indicating the minimum fraction of each land use in a given cell

max.value

numeric vector indicating the maximum fraction of each land use in a given cell

max.iteration

The maximum number of iterations allowed at each time step

max.difference

The maximum allowable difference between demand and allocated area

cell.area

The area of each grid cell in the study region, which should have the same units as the demand

ncell

number of cells considered for change (equal to the length of lu0.vals

ncode

number of land use categories under consideration

...

additional arguments (none)

Value

numeric vector with updated land use values.

Examples

1
## See lulcc2-package examples

simonmoulds/lulcc2 documentation built on Dec. 23, 2021, 2:24 a.m.