Package: mfp2
Type: Package
Title: Multivariable Fractional Polynomial Models with Extensions
Version: 1.0.1
Date: 2025-05-15
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) <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.
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 <edwin.kipruto@uniklinik-freiburg.de>
RoxygenNote: 7.3.1
VignetteBuilder: knitr
Config/testthat/edition: 3
Language: en-US
NeedsCompilation: no
Packaged: 2025-05-15 09:05:09 UTC; Edwin Kipruto
Repository: CRAN
Date/Publication: 2025-05-15 09:30:02 UTC
Built: R 4.6.0; ; 2026-04-26 06:48:10 UTC; unix
