R/vke_hesapla.R

Defines functions vke_hesapla

Documented in vke_hesapla

#' vucut kitle endeksini hesapla
#'
#' @param kilo
#' kg cinsinden
#' @param boy
#' cm cinsinden
#'
#' @return
#' @export
#'
#' @examples
#' vke_hesapla(kilo = 80, boy = 180)
vke_hesapla <- function(kilo, boy){

  return(round(kilo / (boy*boy) * 10000, digits = 1))

}
rpydaneogrendim/vke_ilkpaket documentation built on Nov. 5, 2019, 4:15 a.m.