inst/examplepkg/R/hypotenuse.R

#' Calculate the hypotenuse provided two edge lengths
#'
#' @param a,b edge lengths
#'
#' @export
#'
hypotenuse <- function(a, b) {
  return(sqrt(a^2 + b^2))
}
Genentech/covtracer documentation built on Feb. 18, 2025, 10:34 a.m.