Skip to content

Commit

Permalink
refactor: rename meld_plus7 into pmeld_plus7
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibb committed Mar 11, 2022
1 parent a49fe05 commit d6837bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Changes in development

- Rename `meld_plus7` into `pmeld_plus7`.

## Changes in 0.0.16

- Add `main` to `plot.arcv.glmnet`.
Expand Down
4 changes: 2 additions & 2 deletions R/meld.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ meld_na <- function(creatinine, bilirubin, inr, sodium, dialysis = FALSE,
#' \doi{10.1371/journal.pone.0186301}
#' @export
#' @examples
#' meld_plus7(2.5, 4.1, 1.2, 137, 24, 6.7, 56)
meld_plus7 <- function(creatinine, bilirubin, inr, sodium, albumin, wbc, age,
#' pmeld_plus7(2.5, 4.1, 1.2, 137, 24, 6.7, 56)
pmeld_plus7 <- function(creatinine, bilirubin, inr, sodium, albumin, wbc, age,
round = FALSE) {
score <- 8.53499496 + 2.59679650 * log10(1 + creatinine) +
2.06503238 * log10(1 + bilirubin) + 2.99724802 * log10(1 + inr) -
Expand Down

0 comments on commit d6837bd

Please sign in to comment.