Skip to contents

This function calculates the actual values for the interaction fixed effect based on the input labels in the interaction, categorical variables in the interaction, data to compute interaction values, actual intercept, and the reference levels in categorical variables.

Usage

generateActualInteractionX2_FixEff(
  labelsInInteraction,
  l_categoricalVarsInInteraction,
  data2computeInteraction,
  l_RefInCategoricalVars
)

Arguments

labelsInInteraction

A vector containing the labels of the interaction terms.

l_categoricalVarsInInteraction

A vector containing the names of categorical variables involved in the interaction.

data2computeInteraction

The data frame used to compute interaction values.

l_RefInCategoricalVars

A list containing the reference levels of categorical variables.

Value

A data frame with the actual values for the interaction fixed effect. The data frame includes columns: term, actual, and description.