sim_covariate: sim_covariate

View source: R/2a_effectFunctions_exogenous.R

sim_covariateR Documentation

sim_covariate

Description

Is mobility more likely between locations that are similar on some attribute v? E.g., is mobility more likely between organisations that have a similar size?

Usage

sim_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.


MoNAn documentation built on Sept. 12, 2024, 5:08 p.m.