Package: offsetreg 1.1.1

Matt Heaphy

offsetreg: An Extension of 'Tidymodels' Supporting Offset Terms

Extend the 'tidymodels' ecosystem <https://www.tidymodels.org/> to enable the creation of predictive models with offset terms. Models with offsets are most useful when working with count data or when fitting an adjustment model on top of an existing model with a prior expectation. The former situation is common in insurance where data is often weighted by exposures. The latter is common in life insurance where industry mortality tables are often used as a starting point for setting assumptions.

Authors:Matt Heaphy [aut, cre, cph]

offsetreg_1.1.1.tar.gz
offsetreg_1.1.1.zip(r-4.5)offsetreg_1.1.1.zip(r-4.4)offsetreg_1.1.1.zip(r-4.3)
offsetreg_1.1.1.tgz(r-4.5-any)offsetreg_1.1.1.tgz(r-4.4-any)offsetreg_1.1.1.tgz(r-4.3-any)
offsetreg_1.1.1.tar.gz(r-4.5-noble)offsetreg_1.1.1.tar.gz(r-4.4-noble)
offsetreg_1.1.1.tgz(r-4.4-emscripten)offsetreg_1.1.1.tgz(r-4.3-emscripten)
offsetreg.pdf |offsetreg.html
offsetreg/json (API)
NEWS

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

Bug tracker:https://github.com/mattheaphy/offsetreg/issues

Pkgdown site:https://mattheaphy.github.io

Datasets:

On CRAN:

Conda:

4.48 score 2 stars 4 scripts 236 downloads 11 exports 43 dependencies

Last updated 1 months agofrom:8fce690ec0. Checks:9 OK. Indexed: yes.

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

Exports:boost_tree_offsetcheck_argsdecision_tree_exposureglm_offsetglmnet_offsetmin_gridpoisson_reg_offsetrpart_exposuretranslatexgb_predict_offsetxgb_train_offset

Dependencies:clicodetoolscolorspacecpp11dplyrfansifarvergenericsggplot2globalsgluegtablehardhatisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmeparsnippillarpkgconfigpoissonregprettyunitspurrrR6RColorBrewerrlangscalessparsevctrsstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

When to use offsetreg

Rendered fromusage.Rmdusingknitr::rmarkdownon Mar 25 2025.

Last update: 2024-04-04
Started: 2024-04-04