create_interactions: create_interactions

Description Usage Arguments

View source: R/create_interactions.R

Description

Wrapper function for make_interaction - assists in the creation of many interaction terms

Usage

1
create_interactions(df, intList, nlvl = 25, ...)

Arguments

df

A data.frame that contains the interaction terms to be prepared

intList

A list that contains a number of recipes from which to create interactions. Recipes should be character strings delimited by |'s. E.g. "Age|Sex"

nlvl

Max number of levels allowed in an interaction term before its binned

...

Additional arguments to be passed to the make_interaction


gm209/gmtools documentation built on May 22, 2019, 2:39 p.m.