Description Usage Arguments Value See Also
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
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)
|
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 |
an array of movement multiplier grids 'here' and to N,S,E & W
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.