avoiding_dissimilar_covar_bin: avoiding_dissimilar_covar_bin

View source: R/2f_effectFunctions_endogenousCovariateBased.R

avoiding_dissimilar_covar_binR Documentation

avoiding_dissimilar_covar_bin

Description

Do individuals with different attributes to move to different places? This statistic gives a negative contribution to pairs of dissimilar individuals following the same path.

Usage

avoiding_dissimilar_covar_bin(
  dep.var = 1,
  resource.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.