Learn R Programming

modelc (version 1.0.0.0)

build_interaction_term: Build a SQL interaction term

Description

Build a SQL interaction term

Usage

build_interaction_term(model, interaction_term, first = FALSE)

Arguments

model

A list with the same signature as the output of lm or glm

interaction_term

The raw interaction term (a character string) from the R model

first

A logical flag signaling whether the term is the first term in the formula

Value

A character string representing a SQL interaction term