Learn R Programming

MoNAn (version 1.1.0)

same_covariate: same_covariate

Description

Is mobility more likely between locations that are identical on some attribute v? E.g., is mobility more likely between organisations that are located in the same region?

Usage

same_covariate(
  dep.var = 1,
  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.

Arguments

dep.var

attribute.index

state

cache

i

j

edge

update

getTargetContribution