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.


penppml documentation built on Sept. 8, 2023, 5:58 p.m.