offsetreg: An Extension of 'Tidymodels' Supporting Offset Terms

Extend the 'tidymodels' ecosystem <> 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.

Version: 1.1.0
Depends: R (≥ 4.1)
Imports: generics, glue, parsnip (≥ 1.2.0), poissonreg, rlang, stats
Suggests: broom, glmnet, knitr, recipes, rmarkdown, rpart, testthat (≥ 3.0.0), tune, workflows, rsample, xgboost
Published: 2024-04-11
DOI: 10.32614/CRAN.package.offsetreg
Author: Matt Heaphy [aut, cre, cph]
Maintainer: Matt Heaphy <mattrmattrs at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: offsetreg results


Reference manual: offsetreg.pdf
Vignettes: When to use offsetreg


Package source: offsetreg_1.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): offsetreg_1.1.0.tgz, r-oldrel (arm64): offsetreg_1.1.0.tgz, r-release (x86_64): offsetreg_1.1.0.tgz, r-oldrel (x86_64): offsetreg_1.1.0.tgz
Old sources: offsetreg archive


Please use the canonical form to link to this page.