alter_covariate {MoNAn}R Documentation

alter_covariate

Description

Are locations higher on some attribute v more popular targets of mobility? E.g., do workers have a tendency to move to larger organisations?

Usage

alter_covariate(
  dep.var = 1,
  attribute.index,
  state,
  cache,
  i,
  j,
  edge,
  update,
  loop.contribution = TRUE,
  getTargetContribution = FALSE
)

Arguments

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

Value

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


[Package MoNAn version 1.1.0 Index]