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
)

Arguments

dep.var
resource.attribute.index
state
cache
i
j
edge
update
getTargetContribution

Value

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


MoNAn documentation built on Sept. 12, 2024, 5:08 p.m.