add_poly_terms function

Creates polynomial terms for specified variables in a data frame Polynomial terms are named as <variable>_d_<degree> (e.g., Z1_d_2 for the square of Z1).

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