in_weights_GW: in_weights_GW

View source: R/2_effectFunctions.R

in_weights_GWR Documentation

in_weights_GW

Description

Is there a preferential attachment in the mobility network, i.e., do individuals move particularly to popular destinations? The geometrically weighted version avoids degeneracy.

Usage

in_weights_GW(
  dep.var = 1,
  state,
  cache,
  i,
  j,
  edge,
  update,
  getTargetContribution = FALSE,
  alpha = 2
)

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.