avoiding_dissimilar_covar_cont: avoiding_dissimilar_covar_cont

View source: R/2f_effectFunctions_endogenousCovariateBased.R

avoiding_dissimilar_covar_contR Documentation

avoiding_dissimilar_covar_cont

Description

Do individuals with different attributes tend to move to different places? This statistic gives a contribution to all pairs of individuals who use the same path that is weighted by the absolute difference between their continuous attribute.

Usage

avoiding_dissimilar_covar_cont(
  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.