staying_by_prop_bin_inflow: staying_by_prop_bin_inflow

View source: R/2f_effectFunctions_endogenousCovariateBased.R

staying_by_prop_bin_inflowR Documentation

staying_by_prop_bin_inflow

Description

Is the tendency to stay in vs. move out of a location dependent on the proportion of individuals of type w that enter the location? This is especially geared towards modelling how some locations become more or less attractive dependent on the change in composition.

Usage

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