Learn R Programming

MoNAn (version 1.1.0)

reciprocity_min: reciprocity_min

Description

Do individuals move to destinations that send more individuals to ego’s origin? This version of the effect is the minimum of the moves in either direction, thereby guarding against degeneracy and guaranteeing sample size consistency. It counts the ‘raw’ number of reciprocated transitions in the mobility network.

Usage

reciprocity_min(
  dep.var = 1,
  state,
  cache,
  i,
  j,
  edge,
  update,
  getTargetContribution = FALSE
)

Value

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

Arguments

dep.var

state

cache

i

j

edge

update

getTargetContribution