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))
}

Try the covtracer package in your browser

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

covtracer documentation built on Sept. 12, 2024, 7:40 a.m.