Initialize a risk list for a feeding site object. This function is a method for FeedingSite.

init_riskList(maxH = 20L, zooW = rgamma(1, 1, 1))

Arguments

maxH

number of human slots to preallocate this site's risk list

zooW

biting weight on livestock at this site's risk list

Structure

  • maxH: maximum number of humans in this risk list (memory allocation)

  • N: current number of humans in this risk list

  • who: index of who is at risk (myID value of the Human objects at risk at this site)

  • pTm: person time at risk

  • w: biting weight on hosts at risk

  • nO: number of non-human hosts

  • other: (general list structure for adding non-human hosts)

    • zoo:

      • w: biting weight on livestock

      • typeID: -1 corresponds to livestock host id

Examples

some_function()
#> Error in some_function(): could not find function "some_function"