Package: modelc 1.0.0.0

Hugo Saavedra

modelc: A Linear Model to 'SQL' Compiler

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.

Authors:Hugo Saavedra [aut, cre]

modelc_1.0.0.0.tar.gz
modelc_1.0.0.0.zip(r-4.5)modelc_1.0.0.0.zip(r-4.4)modelc_1.0.0.0.zip(r-4.3)
modelc_1.0.0.0.tgz(r-4.5-any)modelc_1.0.0.0.tgz(r-4.4-any)modelc_1.0.0.0.tgz(r-4.3-any)
modelc_1.0.0.0.tar.gz(r-4.5-noble)modelc_1.0.0.0.tar.gz(r-4.4-noble)
modelc_1.0.0.0.tgz(r-4.4-emscripten)modelc_1.0.0.0.tgz(r-4.3-emscripten)
modelc.pdf |modelc.html
modelc/json (API)

# Install 'modelc' in R:
install.packages('modelc', repos = c('https://sparkfish.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sparkfish/modelc/issues

On CRAN:

Conda:

compilergeneralized-linear-modelslinear-modelssqltranspiler

2.70 score 1 stars 1 scripts 130 downloads 1 exports 0 dependencies

Last updated 5 years agofrom:2f6a779e23. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 14 2025
R-4.5-winOKMar 14 2025
R-4.5-macOKMar 14 2025
R-4.5-linuxOKMar 14 2025
R-4.4-winOKMar 14 2025
R-4.4-macOKMar 14 2025
R-4.4-linuxOKMar 14 2025
R-4.3-winOKMar 14 2025
R-4.3-macOKMar 14 2025

Exports:modelc

Dependencies: