twoWay

fun twoWay(name1: String, name2: String): LinearModel

Shorthand for adding a two-way interaction term. The names must be different.