R/WB.R

Defines functions WB

Documented in WB

WB <- function(d, h) {
  if(is.na(d) | is.na(h)) {
    return(NA)
  } else if (d == 0 | h == 0) {
    return(0)
  }
  WB = round(0.0058*((d^2)*h)^1.0380, 5)
  return(WB)
}

Try the javateak package in your browser

Any scripts or data that you put into this service are public.

javateak documentation built on April 3, 2025, 10:44 p.m.