rtSetVegMoveGrids: to return an array of grids used internally to represent...

Description Usage Arguments Value See Also

Description

Used to represent effect of vegetation in a cell on movement out of that cell. Returns an array of movement multiplier grids to N,S,E & W

Usage

1
2
3
4
rtSetVegMoveGrids(mVegCats = array(c("O", "O", "O", "O", "S", "O", "O", "O",
  "O", "O", "O", "O"), dim = c(3, 4)), dfMoveByVeg = data.frame(code = c("D",
  "T", "O", "S", "B", "G", "N"), move = c(0.85, 0.9, 0.95, 1, 1.05, 1.1, 0)),
  mVegMove = NULL, verbose = FALSE)

Arguments

mVegCats

a matrix of vegetation categories

dfMoveByVeg

dataframe specifying a movement multiplier for each vegetation category

mVegMove

optional matrix of vegetation movement modifiers >1 increases movement out of the cell, <1 decreases movement out of the cell

verbose

print what it's doing T/F

Value

an array of movement multiplier grids 'here' and to N,S,E & W

See Also

rtSetVegDifGrids which sets up similar grids for influencing movement according to vegetation differences between cells.
rtMove uses the grids created.

The movement vignette contains more details about how movement can be represented, type this in the R console : vignette("vignette-movement", package="rtsetse")


AndySouth/rtsetse documentation built on May 5, 2019, 6:02 a.m.