Learn R Programming

MoNAn (version 1.1.0)

alter_covariate: 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
)

Value

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

Arguments

dep.var

attribute.index

state

cache

i

j

edge

update

loop.contribution

getTargetContribution