Description Usage Arguments Examples
Returns a SQL query with formula to calculate fitted values
1 | tidypredict_sql(model, con)
|
model |
An R model or a list with a parsed model |
con |
Database connection object. It is used to select the correct SQL translation syntax. |
1 2 3 4 | library(dbplyr)
model <- lm(mpg ~ wt + am + cyl, data = mtcars)
tidypredict_sql(model, simulate_dbi())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.