tidypredict_sql
Returns a SQL query with formula to calculate fitted values
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)#>
#> #>
#>
#> #>
#>
#> #> <SQL> (((39.4179334351865) + (("wt") * (-3.12514220026708))) + (("am") * (0.176493157719668))) + (("cyl") * (-1.5102456624971))