clues: CLUE-S

Description Usage Arguments Value Examples

View source: R/allocate.R

Description

Allocate land use change using the CLUE-S algorithm.

Usage

1
2
3
4
clues(lu0, lu0.vals, tprob, nb = NULL, nb.rules = NULL,
  transition.rules = NULL, hist.vals = NULL, mask.vals = NULL,
  demand, categories, elasticity, iteration.factor, max.iteration,
  max.difference, ave.difference, ...)

Arguments

lu0

RasterLayer showing initial land use

lu0.vals

numeric containing non-NA values from lu0

tprob

matrix with land use suitability values. Columns should correspond to categories, rows should correspond with cells

nb

neighbourhood map. See CluesModel

nb.rules

neighbourhood rules. See CluesModel documentation

transition.rules

transition rules. See CluesModel documentation

hist.vals

numeric vector detailing the number of consecutive time steps each cell has been allocated to its current land use

mask.vals

numeric vector containing binary values where 0 indicates cells that are not allowed to change

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

categories

numeric vector containing land use categories

elasticity

elasticity values. See CluesModel documentation

iteration.factor

iteration factor. See CluesModel documentation

max.iteration

The maximum number of iterations allowed at each time step

max.difference

The maximum allowable difference between demand and allocated area

ave.difference

The maximum allowable average difference across all land uses

...

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.