build_intercept: Get SQL representing the intercept term given the R model and...

Description Usage Arguments Value

View source: R/modelc.r

Description

Get SQL representing the intercept term given the R model and parameter name

Usage

1
build_intercept(model, parameter, first = FALSE)

Arguments

model

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

parameter

A parameter name.

first

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

Value

A SQL character string representing the intercept term in the model


team-sparkfish/modelc documentation built on June 21, 2020, 10:57 a.m.