loops_additional_origin function

loops_additional_origin

loops_additional_origin

This effect models loops for cases in which individuals have more than one origin. The additional origin not specified in the mobility data is included as a resource.attribute.index. The question modeled is: Do individuals stay in the additional location of origin, compared to going to a different location?

loops_additional_origin( dep.var = 1, resource.attribute.index, state, cache, i, j, edge, update, getTargetContribution = FALSE )

Arguments

  • dep.var:
  • resource.attribute.index:
  • state:
  • cache:
  • i:
  • j:
  • edge:
  • update:
  • getTargetContribution:

Returns

Returns the change statistic or target statistic of the effect for internal use by the estimation algorithm.

  • Maintainer: Per Block
  • License: GPL (>= 3)
  • Last published: 2024-09-12

Useful links