Package: offsetreg 1.2.0

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.2.0.tar.gz
offsetreg_1.2.0.zip(r-4.7)offsetreg_1.2.0.zip(r-4.6)offsetreg_1.2.0.zip(r-4.5)
offsetreg_1.2.0.tgz(r-4.6-any)offsetreg_1.2.0.tgz(r-4.5-any)
offsetreg_1.2.0.tar.gz(r-4.7-any)offsetreg_1.2.0.tar.gz(r-4.6-any)
offsetreg_1.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
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/docs site:https://mattheaphy.github.io

Datasets:

On CRAN:

Conda:

4.48 score 3 stars 7 scripts 512 downloads 11 exports 36 dependencies

Last updated from:9b6840c1ab. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK157
source / vignettesOK234
linux-release-x86_64OK165
macos-release-arm64OK140
macos-oldrel-arm64OK105
windows-develOK127
windows-releaseOK100
windows-oldrelOK118
wasm-releaseOK118

Exports:boost_tree_offsetcheck_argsdecision_tree_exposureglm_offsetglmnet_offsetmin_gridpoisson_reg_offsetrpart_exposuretranslatexgb_predict_offsetxgb_train_offset

Dependencies:clicodetoolscpp11dplyrfarvergenericsggplot2globalsgluegtablehardhatisobandlabelinglifecyclemagrittrparsnippillarpkgconfigpoissonregprettyunitspurrrR6RColorBrewerrlangS7scalessparsevctrsstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

When to use offsetreg

Rendered fromusage.Rmdusingknitr::rmarkdownon May 22 2026.

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