dot-remstats_durem: Internal remstats dispatch for 'remify_durem' objects

.remstats_duremR Documentation

Internal remstats dispatch for remify_durem objects

Description

Called by remstats when reh inherits from "remify_durem". Builds a dual-event edgelist (one "start" row and one "end" row per event), applies psi weighting, and calls tomstats twice — once for the start model, once for the end model.

Usage

.remstats_durem(
  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 (remstats syntax).

end_effects

Formula for end-model statistics.

psi_start

Numeric. Duration exponent for start-model history weighting. Event weight is w * (end - time + 1)^psi_start. Default 1.

psi_end

Numeric. Duration exponent for end-model history weighting. Default 1.

attr_actors

optionally, an object of class "data.frame" that contains exogenous attributes for actors (see Details).

attr_dyads

optionally, an object of class data.frame or matrix containing attribute information for dyads (see Details).

memory

The memory to be used. See ‘Details’.

memory_value

Numeric value indicating the memory parameter. Default is NA, which is only valid for memory = "full" (no memory parameter required). See ‘Details’.

display_progress

should a progress bar for the computation of the endogenous statistics be shown (TRUE) or not (FALSE)?

Value

A remstats_durem object.


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