Skip to content

nomogramFormula

1.2.0.0

Calculate Total Points and Probabilities for Nomogram

1packages depend
6.3Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Jing ZhangFirst published 2019-08-283 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.0 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
No
README
3
Dependencies · direct
Check history
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

6.3K
CRAN downloads in the past year
Rank #8,926 · ~17/day · ~524/mo
nomogramFormula
Daily download trend is not available in this view yet.
48630 days
1.3K90 days
6.3K1 year
Compare downloads with other packages →
Also on97 r2u13 autocran

Repository

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (3)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
R 522 (67%)Rd 254 (33%)
Code characteristics
Cyclomatic complexity
7.0 median / 13 max
Documented parameters
100%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

8 5 exported

Complexity

7.1 avg / 13 max

Call network

8 nodes / 2 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (0)

Author records are not tracked yet for this package.

Release timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2.0.0Latest
    2020-01-28 · current release · diff ↗
  • 1.1.0.0
    2019-09-02 · diff ↗
  • 1.0.0.0
    2019-08-28
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-08-28
Total releases
3 / 7 yrs
License
GPL-3 OSI
Download size
6.9 KB
Installed size
not tracked yet
With dependencies
not tracked yet