Learn R Programming

MoNAn (version 1.1.0)

reciprocity_min_dyad_covar: reciprocity_min_dyad_covar

Description

Do individuals move to destinations that send more individuals to ego’s origin? This is weighted by a dydic covariate. 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_dyad_covar(
  dep.var = 1,
  attribute.index,
  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

attribute.index

state

cache

i

j

edge

update

getTargetContribution