forest.transition: Forest transitions

Description Usage Arguments Value Examples

View source: R/forest.transition.r

Description

Determines the presence of species within a buffer around target cells.

Usage

1
forest.transition(land, target.cells, suitab, params, type.trans = "S")

Arguments

land

A landscape data frame with forest stand records in rows

suitab

A data frame with climatic suitability and soil suitability for potential colonizing species for each forest stand. It is the result of the function suitability()

params

A list of default parameters generated by the function default.params() or a customized list of model parameters

type.trans

A character indicating the type of transition: B for burnt cells, O for cells affected by an outbreak, B for clear-cut cells, and S for cells undergoing natural succession.

target.cell.ids

A vector of cell.id codes for those cells that may change stand composition

Value

A vector with the name of the new species / group of species

Examples

1
2
3
4
data(landscape)
params <- default.params()
suitab <- suitability(landscape, params) 
forest.trans(landscape, landscape$cell.id[runif(10,1,nrow(landscape))], suitab, params, type.trans = "S")

nuaquilue/QLDM documentation built on Dec. 22, 2021, 3:18 a.m.