loops_additional_origin {MoNAn}R Documentation

loops_additional_origin

Description

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?

Usage

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

Value

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


[Package MoNAn version 1.1.0 Index]