R: Returns a SQL query with formula to calculate fitted values

tidypredict_sql {tidypredict} | R Documentation

## Returns a SQL query with formula to calculate fitted values

### Description

Returns a SQL query with formula to calculate fitted values

### Usage

    tidypredict_sql(model, con)

### Arguments

`model` | An R model or a tibble with a parsed model
`con` | Database connection object. It is used to select the correct SQL translation syntax.

### Examples

    library(dbplyr)

    model <- lm(mpg ~ wt + am + cyl, data = mtcars)
    tidypredict_sql(model, simulate_dbi())

[Package tidypredict version 0.1.0 Index]