add_interaction_terms function

Creates interaction terms for specified variables in a data frame Interaction terms are named as <var1>_int_<var2> (e.g., Z1_int_Z2 for the product of Z1 and Z2).

  • Maintainer: Christian B. H. Thorjussen
  • License: GPL (>= 2)
  • Last published: 2025-08-28