reciprocity_min_dyad_covar: reciprocity_min_dyad_covar

View source: R/2d_effectFunctions_reciprocity.R

reciprocity_min_dyad_covarR Documentation

reciprocity_min_dyad_covar

Description

Do individuals move to destinations that send more individuals to ego’s origin? This is weighted by a dyadic 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.


MoNAn documentation built on Oct. 11, 2026, 5:09 p.m.