factors_to_formula_factory: Factory generating a formula for multiple linear regression

Description Usage Arguments

View source: R/model_factors.R

Description

Get a function representing the right side of a formula with interactions between factors up to the specified interaction level. Call this function with the actual factors to get an up-to-date formula.

Usage

1
factors_to_formula_factory(factor_indices, interaction_level)

Arguments

factor_indices

Integer vector.

interaction_level

Maximum length of interaction between factors.


DavidBarke/QWUtils documentation built on Jan. 13, 2020, 11:52 a.m.