construct_factor_interactions: Interact a factor-type variable with another variable

Description Usage Arguments Value

View source: R/construct_factor_interactions.R

Description

A factor-type variable interacted with another yields, one new variable per factor level. New variable naming follows a consistent factor level:variable naming convention.

Usage

1

Arguments

df

A data frame.

pair_varnames

Character vector of variable names to be interacted.

Value

A data frame, containing the newly constructed interactions.


abrahamalex13/doPrepExplore documentation built on Jan. 27, 2021, 4:30 a.m.