Package: mfp2 1.0.2
Edwin Kipruto
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.
Authors:
mfp2_1.0.2.tar.gz
mfp2_1.0.2.zip(r-4.5)mfp2_1.0.2.zip(r-4.4)mfp2_1.0.2.zip(r-4.3)
mfp2_1.0.2.tgz(r-4.4-any)mfp2_1.0.2.tgz(r-4.3-any)
mfp2_1.0.2.tar.gz(r-4.5-noble)mfp2_1.0.2.tar.gz(r-4.4-noble)
mfp2_1.0.2.tgz(r-4.4-emscripten)mfp2_1.0.2.tgz(r-4.3-emscripten)
mfp2.pdf |mfp2.html✨
mfp2/json (API)
NEWS
# 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
Last updated 6 months agofrom:1da9acbcda. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 17 2024 |
R-4.5-win | OK | Nov 17 2024 |
R-4.5-linux | OK | Nov 17 2024 |
R-4.4-win | OK | Nov 17 2024 |
R-4.4-mac | OK | Nov 17 2024 |
R-4.3-win | OK | Nov 17 2024 |
R-4.3-mac | OK | Nov 17 2024 |
Exports:apply_shift_scaleassign_dfcenter_matrixcreate_dummy_variablesfind_scale_factorfind_shift_factorfit_acdfpfp2fracplotgenerate_powers_acdgenerate_powers_fpget_selected_variable_namesmfp2transform_matrixtransform_vector_acdtransform_vector_fp
Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalessurvivaltibbleutf8vctrsviridisLitewithr