dyadic_covariate {MoNAn}R Documentation

dyadic_covariate

Description

Is mobility between locations predicted by the dyadic covariate u? E.g., is mobility likely between organisations that are in the same region? Note that in many cases dyadic covariates can convey the same information as the ‘same covariate’ or the ‘covariate similarity’ effects.

Usage

dyadic_covariate(
  dep.var = 1,
  attribute.index,
  state,
  cache,
  i,
  j,
  edge,
  update,
  getTargetContribution = FALSE
)

Arguments

dep.var
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.


[Package MoNAn version 1.0.0 Index]