nomogramFormula
Calculate Total Points and Probabilities for Nomogram
Description
A nomogram, which can be carried out in 'rms' package, provides a graphical explanation of a prediction process. However, it is not very easy to draw straight lines, read points and probabilities accurately. Even, it is hard for users to calculate total points and probabilities for all subjects. This package provides formula_rd() and formula_lp() functions to fit the formula of total points with raw data and linear predictors respectively by polynomial regression. Function points_cal() will help you calculate the total points. prob_cal() can be used to calculate the probabilities after lrm(), cph() or psm() regression. For more complex condition, interaction or restricted cubic spine, TotalPoints.rms() can be used.
Downloads
500
Last 30 days
7887th
1.5K
Last 90 days
6.4K
Last year
Trend: +21.4% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (5 non-OK)
CRAN incoming feasibility
Maintainer: ‘Jing Zhang<zj391120@163.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Jing",
family = "Zhang",
role = c("aut", "cre"),
email = "zj391120@163.com"),
person(given = "Zhi",
family = "Jin",
role = "aut"))
as necessary.
CRAN incoming feasibility
Maintainer: ‘Jing Zhang<zj391120@163.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Jing",
family = "Zhang",
role = c("aut", "cre"),
email = "zj391120@163.com"),
person(given = "Zhi",
family = "Jin",
role = "aut"))
as necessary.
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
Check History
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Jing Zhang<zj391120@163.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Jing",
family = "Zhang",
role = c("aut", "cre"),
email = "zj391120@163.com"),
person(given = "Zhi",
family = "Jin",
role = "aut"))
as necessary.
CRAN incoming feasibility
Maintainer: ‘Jing Zhang<zj391120@163.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Jing",
family = "Zhang",
role = c("aut", "cre"),
email = "zj391120@163.com"),
person(given = "Zhi",
family = "Jin",
role = "aut"))
as necessary.
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory