genfes: Generating a List of Fixed Effects

View source: R/utils.R

genfesR Documentation

Generating a List of Fixed Effects

Description

genfes generates a list of fixed effects by creating interactions of paired factors.

Usage

genfes(data, inter)

Arguments

data

A data frame including the factors.

inter

A list: each element includes the variables to be interacted (both names and column

Value

A list containing the desired interactions of vars, with the same length as inter.


tomzylkin/penppml documentation built on Feb. 13, 2025, 9:10 p.m.