Skip to contents

This function replaces the effect in interactions columns by 0, when needed.

Usage

replaceUnexpectedInteractionValuesBy0(list_var, l_labels_ref, data)

Arguments

list_var

The list of variables containing the effects to modify.

l_labels_ref

A list containing the reference level for each categorical variable.

data

The data frame containing the effects to modify.

Value

The modified data frame