Skip to contents

Creates interaction terms by multiplying specified variables together. Implements the 'interaction' transformation step from the Model Parameters pipeline.

Usage

.run_step_interaction(mod, file)

Arguments

mod

Model object

file

Path to interaction step specification file

Value

Updated model object with interaction variables added to data