Skip to content

Commit

Permalink
Made small change in BuBois-DuBois formula for surface area (derive_a…
Browse files Browse the repository at this point in the history
…dvs_params.R)
  • Loading branch information
jimrothstein committed Oct 24, 2024
1 parent bf9ffdd commit 47aa06e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/derive_advs_params.R
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ derive_param_bsa <- function(dataset,
#'
#' Mosteller: sqrt(height * weight / 3600)
#'
#' DuBois-DuBois: 0.20247 * (height/100) ^ 0.725 * weight ^ 0.425
#' DuBois-DuBois: 0.007184 * height ^ 0.725 * weight ^ 0.425
#'
#' Haycock: 0.024265 * height ^ 0.3964 * weight ^ 0.5378
#'
Expand Down Expand Up @@ -521,7 +521,7 @@ compute_bsa <- function(height = height,
} else if (method == "DuBois-DuBois") {
# The DuBois & DuBois formula expects the value of height in meters
# We need to convert from cm
bsa <- 0.20247 * (height / 100)^0.725 * weight^0.425
bsa <- 0.007184 * height ^ 0.725 * weight ^ 0.425
} else if (method == "Haycock") {
bsa <- 0.024265 * height^0.3964 * weight^0.5378
} else if (method == "Gehan-George") {
Expand Down

0 comments on commit 47aa06e

Please sign in to comment.