dot-remstats_durem_dispatch: Internal dispatch for 'remify_durem' objects

.remstats_durem_dispatchR Documentation

Internal dispatch for remify_durem objects

Description

Called by remstats when reh inherits from "remify_durem". Each formula is inspected term-by-term:

Usage

.remstats_durem_dispatch(
  reh,
  start_effects = NULL,
  end_effects = NULL,
  psi_start = 1,
  psi_end = 1,
  attr_actors = NULL,
  attr_dyads = NULL,
  memory = c("full", "window", "decay", "interval"),
  memory_value = NA,
  start = 2,
  stop = Inf,
  display_progress = FALSE
)

Arguments

reh

A remify_durem object.

start_effects

Formula for start-model statistics.

end_effects

Formula for end-model statistics.

psi_start

Duration exponent for start-model history weighting (forwarded to .remstats_durem; ignored for active-state effects).

psi_end

Duration exponent for end-model history weighting.

attr_actors

Actor-level attribute data frame (forwarded to tomstats; ignored for active-state effects).

attr_dyads

Dyad-level attribute data frame (forwarded to tomstats; ignored for active-state effects).

memory

Memory type forwarded to tomstats.

memory_value

Memory value forwarded to tomstats.

start

First time-point index.

stop

Last time-point index.

display_progress

Logical.

Details

  • Pure active-state formulas (only activeTie(), activeOutdegreeSender(), etc.) are forwarded to duremstats.

  • Pure history-weighted formulas (only inertia(), reciprocity(), etc.) are forwarded to .remstats_durem, which calls tomstats with optional psi-weighting.

  • Mixed formulas are split automatically: active-state terms go to duremstats and history-weighted terms go to .remstats_durem; the two resulting arrays are combined along the statistics dimension before being returned.

Value

A remstats_durem object.


remstats documentation built on July 15, 2026, 5:07 p.m.