makeMoves: Make Move function

View source: R/nosoi_step1-makeMoves.R

makeMovesR Documentation

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


slequime/nosoi documentation built on Feb. 15, 2024, 3:31 p.m.