addColumnsFor

fun AnyFrame.addColumnsFor(linearModel: LinearModel): AnyFrame

Causes the columns associated with the linear model to be added to the dataframe.

Return

the new dataframe with the additional columns

Parameters

linearModel

the linear model specified with the column names. Columns representing the main effects must already be in the dataframe