apply_linkinverse: Wrap the model SQL in the appropriate link function inverse to return scaled predictions
Description
Wrap the model SQL in the appropriate link function inverse to return scaled predictions
Usage
apply_linkinverse(model, sql)
Arguments
model
A list with the same signature as the output of lm or glm
sql
A character string representing the SQL to be wrapped in the link inverse
Value
A character string representing a SQL model formula