loops_resource_covar_node_covar {MoNAn}R Documentation

loops_resource_covar_node_covar

Description

This is an interaction of the previous two effects: Do individuals with certain characteristics have a tendency to stay in locations of certain types? Note that this effect should be included alongside the main effects of ‘loops by individual covariate’ and ‘loops by location covariate’.

Usage

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

Arguments

dep.var
resource.attribute.index
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]