InteractionConfig: Interaction configuration

View source: R/wb_utils.R

InteractionConfigR Documentation

Interaction configuration

Description

S3 class to encapsulate interaction processing settings. Replaces the scattered boolean flags (demean.ints, old.ints, detrend).

Usage

InteractionConfig(
  style = c("double-demean", "demean", "raw"),
  model_type = "w-b",
  detrend = FALSE
)

Arguments

style

Character: "double-demean", "demean", or "raw"

model_type

Character: model type (e.g., "w-b", "within", "between")

detrend

Logical: whether detrending is being used

Value

An InteractionConfig S3 object


panelr documentation built on Jan. 21, 2026, 9:06 a.m.