Utility function for generating interaction terms and step functions from a set of base covariates, to be used as candidate omitted covariates.
mlr.generate.Z.o(X, interaction.order = 3, step.funcs = TRUE
, step.thresh = 20, step.ncuts = 3)
TBD
Matrix of base covariates.
Order of interactions to generate. It must be at least 2.
Boolean flag, indicating whether (binary) step functions must be generated from continuous variables.
Minimum number of distinct values in a numeric vector to generate step functions from.
How many cuts to apply for generating step functions.
Alireza S. Mahani, Mansour T.A. Sharabiani
Link to a draft paper, documenting the supporting mathematical framework, will be provided in the next release.