mfp2: Multivariable Fractional Polynomial Models with Extensions

Multivariable fractional polynomial algorithm simultaneously selects variables and functional forms in both generalized linear models and Cox proportional hazard models. Key references are Royston and Altman (1994) <doi:10.2307/2986270> and Royston and Sauerbrei (2008, ISBN:978-0-470-02842-1). In addition, it can model a sigmoid relationship between variable x and an outcome variable y using the approximate cumulative distribution transformation proposed by Royston (2014) <doi:10.1177/1536867X1401400206>. This feature distinguishes it from a standard fractional polynomial function, which lacks the ability to achieve such modeling.

Version: 1.0.1
Depends: R (≥ 4.2.0)
Imports: ggplot2 (≥ 3.4.0), stats, survival, utils
Suggests: knitr, testthat (≥ 3.0.0), xfun, rmarkdown, formatR, patchwork, spelling
Published: 2025-05-15
Author: Edwin Kipruto [aut, cre], Michael Kammer [aut], Patrick Royston [aut], Willi Sauerbrei [aut]
Maintainer: Edwin Kipruto <edwin.kipruto at uniklinik-freiburg.de>
BugReports: https://github.com/EdwinKipruto/mfp2/issues
License: GPL-3
URL: https://github.com/EdwinKipruto/mfp2
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: mfp2 results

Documentation:

Reference manual: mfp2.pdf
Vignettes: Multivariable Fractional Polynomials with Extensions (source, R code)

Downloads:

Package source: mfp2_1.0.1.tar.gz
Windows binaries: r-devel: mfp2_1.0.0.zip, r-release: mfp2_1.0.0.zip, r-oldrel: mfp2_1.0.0.zip
macOS binaries: r-release (arm64): mfp2_1.0.1.tgz, r-oldrel (arm64): mfp2_1.0.1.tgz, r-release (x86_64): mfp2_1.0.0.tgz, r-oldrel (x86_64): mfp2_1.0.0.tgz
Old sources: mfp2 archive

Reverse dependencies:

Reverse imports: midoc, test2norm

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mfp2 to link to this page.