dot-mcee_build_weights: Build per-row weights omega(i,t) for MCEE estimation

.mcee_build_weightsR Documentation

Build per-row weights omega(i,t) for MCEE estimation

Description

Build per-row weights omega(i,t) for MCEE estimation

Usage

.mcee_build_weights(
  data,
  id,
  dp,
  weight_per_row = NULL,
  specific_dp_only = NULL,
  verbose = TRUE
)

Arguments

data

Data frame

id

Subject ID column name

dp

Decision point column name

weight_per_row

Optional user-specified per-row weights

specific_dp_only

Optional vector of decision points to target (others get weight 0)

verbose

Logical; whether to print informative messages

Value

Numeric vector of per-row weights


MRTAnalysis documentation built on Sept. 9, 2025, 5:41 p.m.