Package: mfp2 1.1.1

Edwin Kipruto
mfp2: Multivariable Fractional Polynomial Models with Extensions
Fits multivariable fractional polynomial models with selection of predictors and functional forms. The mfp2() function supports generalized linear models, including Gamma and inverse-Gaussian regression; negative-binomial, multinomial and ordinal regression; generalized estimating equations for clustered data; Cox and parametric survival models; and Fine-Gray competing-risks models. Extensions include approximate cumulative distribution transformations for sigmoid-shaped associations and spike-at-zero modelling for semi-continuous covariates. The mfpi() function assesses interactions between a categorical grouping variable and continuous, binary, or categorical predictors. Fractional polynomial modelling is described by Royston and Altman (1994) <doi:10.2307/2986270> and Royston and Sauerbrei (2008, ISBN:978-0-470-02842-1). The approximate cumulative distribution extension follows Royston (2014) <doi:10.1177/1536867X1401400206> and Royston and Sauerbrei (2016) <doi:10.1177/1536867X1601600109>. Spike-at-zero modelling follows Becher et al. (2012) <doi:10.1002/bimj.201100263>. Interaction analyses follow Royston and Sauerbrei (2004) <doi:10.1002/sim.1815>, Royston and Sauerbrei (2013) <doi:10.1002/sim.5813>, and Royston and Sauerbrei (2014) <doi:10.1002/sim.6308>.
Authors:
mfp2_1.1.1.tar.gz
mfp2_1.1.1.zip(r-4.7-x86_64)mfp2_1.1.1.zip(r-4.7-arm64)mfp2_1.1.1.zip(r-4.6-x86_64)mfp2_1.1.1.zip(r-4.6-arm64)mfp2_1.1.1.zip(r-4.5-x86_64)
mfp2_1.1.1.tgz(r-4.6-x86_64)mfp2_1.1.1.tgz(r-4.6-arm64)mfp2_1.1.1.tgz(r-4.5-x86_64)mfp2_1.1.1.tgz(r-4.5-arm64)
mfp2_1.1.1.tar.gz(r-4.7-arm64)mfp2_1.1.1.tar.gz(r-4.7-x86_64)mfp2_1.1.1.tar.gz(r-4.6-arm64)mfp2_1.1.1.tar.gz(r-4.6-x86_64)
mfp2_1.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mfp2/json (API)
| # Install 'mfp2' in R: |
| install.packages('mfp2', repos = c('https://edwinkipruto.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/edwinkipruto/mfp2/issues
- advanced_prostate_cancer - Advanced prostate cancer dataset used in Royston and Sauerbrei (2008) book.
- art - Artificial dataset with continuous response
- gbsg - Breast cancer dataset used in Royston and Sauerbrei (2008) book.
- pima - Pima Indians dataset used in Royston and Sauerbrei (2008) book.
- prostate - Prostate cancer dataset used in Royston and Sauerbrei (2008) book.
Last updated from:87a6924b4b. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 219 | ||
| linux-devel-x86_64 | OK | 319 | ||
| source / vignettes | OK | 295 | ||
| linux-release-arm64 | OK | 284 | ||
| linux-release-x86_64 | OK | 229 | ||
| macos-release-arm64 | OK | 177 | ||
| macos-release-x86_64 | OK | 555 | ||
| macos-oldrel-arm64 | OK | 214 | ||
| macos-oldrel-x86_64 | OK | 646 | ||
| windows-devel-arm64 | OK | 437 | ||
| windows-devel-x86_64 | OK | 479 | ||
| windows-release-arm64 | OK | 439 | ||
| windows-release-x86_64 | OK | 396 | ||
| windows-oldrel-x86_64 | OK | 374 | ||
| wasm-release | OK | 170 |
Exports:finegray_familyfpfp2fracplotgee_familyget_selected_variable_namesmfp2mfpimultinomial_familynegbin_familyordinal_familysurvreg_familytransform_vector_fp
Last update: 2026-11-12
Started: 2026-11-12
Last update: 2026-11-02
Started: 2026-11-02
Last update: 2026-11-02
Started: 2026-11-02
Last update: 2026-11-02
Started: 2026-11-02
Last update: 2026-11-02
Started: 2026-11-02
