Learn R Programming

MoNAn (version 1.1.0)

loops_AC: loops_AC

Description

Do individuals stay in their current location, in case many other from their current location also stay? This effect tests whether the ‘benefit’ of staying in the origin location depends on the number of others also staying. Note that this effect should be modelled alongside the loops effect.

Usage

loops_AC(
  dep.var = 1,
  state,
  cache,
  i,
  j,
  edge,
  update,
  getTargetContribution = FALSE,
  alpha = 2
)

Value

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

Arguments

dep.var

state

cache

i

j

edge

update

getTargetContribution

alpha