build_factor_case_statements {modelc}R Documentation

Build SQL CASE statements representing the factors in the model

Description

Build SQL CASE statements representing the factors in the model

Usage

build_factor_case_statements(model, first = FALSE)

Arguments

model

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

first

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

Value

A character string representing a SQL CASE statement


[Package modelc version 1.0.0.0 Index]