Package: mfp2 Type: Package Title: Multivariable Fractional Polynomial Models with Extensions Version: 1.0.2 Date: 2025-10-01 Authors@R: c( person("Edwin", "Kipruto", role = c("aut", "cre"), email = "edwin.kipruto@uniklinik-freiburg.de"), person("Michael", "Kammer", role = c("aut"), email = "michael.kammer@meduniwien.ac.at"), person("Patrick", "Royston", role = c("aut"), email = "j.royston@ucl.ac.uk"), person("Willi", "Sauerbrei", role = c("aut"), email = "wilhelm.sauerbrei@uniklinik-freiburg.de") ) Depends: R (>= 4.2.0) Imports: ggplot2 (>= 3.4.0), stats, survival, utils Suggests: knitr, testthat (>= 3.0.0), xfun, rmarkdown, formatR, patchwork, spelling Description: 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) and Royston and Sauerbrei (2008, ISBN:978-0-470-02842-1). In addition, the implementation can model semi-continuous covariates with a “spike at zero” using a two-stage selection procedure. This extension follows the framework proposed by Becher et al. (2012) . The package also includes the approximate cumulative distribution (ACD) transformation to model a sigmoid relationship between variable x and an outcome variable y, as described in Royston (2014) and Royston and Sauerbrei (2016) . This feature distinguishes it from a standard fractional polynomial function, which lacks the ability to achieve such modeling. License: GPL-3 URL: https://github.com/EdwinKipruto/mfp2 BugReports: https://github.com/EdwinKipruto/mfp2/issues Encoding: UTF-8 Author: Edwin Kipruto [aut, cre], Michael Kammer [aut], Patrick Royston [aut], Willi Sauerbrei [aut] Maintainer: Edwin Kipruto RoxygenNote: 7.3.3 Roxygen: list(markdown = TRUE) VignetteBuilder: knitr Config/testthat/edition: 3 Language: en-US Repository: https://edwinkipruto.r-universe.dev Date/Publication: 2026-05-11 13:31:01 UTC RemoteUrl: https://github.com/edwinkipruto/mfp2 RemoteRef: HEAD RemoteSha: 1bf3e78b3cd5e434325e80c507b564f07ff15478 NeedsCompilation: no Packaged: 2026-06-10 06:18:04 UTC; root