nosoi (version 1.0.0)

makeMoves: Make Move function

Description

Makes the move.

Usage

makeMoves(res, pres.time, moving.full, structure.matrix = NA,
  sdMoveParsed = NA, structure.raster = NA, attracted.by.raster = NA,
  max.raster = NA)

Arguments

res

an object of class nosoiSimOne.

pres.time

current time

structure.matrix

transition matrix (probabilities) to go from location A (row) to B (column)

structure.raster

raster object defining the environmental variable.

attracted.by.raster

should the hosts be attracted by higher values in the environmental raster? (TRUE/FALSE).

Value

The modified object res