This is a cross-platform linear model to 'SQL' compiler. It generates 'SQL' from linear and generalized linear models. Its interface consists of a single function, modelc(), which takes the output of lm() or glm() functions (or any object which has the same signature) and outputs a 'SQL' character vector representing the predictions on the scale of the response variable as described in Dunn & Smith (2018) <doi:10.1007/978-1-4419-0118-7> and originating in Nelder & Wedderburn (1972) <doi:10.2307/2344614>. The resultant 'SQL' can be included in a 'SELECT' statement and returns output similar to that of the glm.predict() or lm.predict() predictions, assuming numeric types are represented in the database using sufficient precision. Currently log and identity link functions are supported.
Version: | 1.0.0.0 |
Suggests: | testthat (≥ 2.1.0) |
Published: | 2020-06-28 |
Author: | Sparkfish Analytics [cph], Hugo Saavedra [aut, cre] |
Maintainer: | Hugo Saavedra <analytics+hugo at sparkfish.com> |
BugReports: | https://github.com/sparkfish/modelc/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/sparkfish/modelc |
NeedsCompilation: | no |
Materials: | README |
CRAN checks: | modelc results |
Reference manual: | modelc.pdf |
Package source: | modelc_1.0.0.0.tar.gz |
Windows binaries: | r-devel: modelc_1.0.0.0.zip, r-release: modelc_1.0.0.0.zip, r-oldrel: modelc_1.0.0.0.zip |
macOS binaries: | r-release: modelc_1.0.0.0.tgz, r-oldrel: modelc_1.0.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=modelc to link to this page.