R/zscore.R

Defines functions zscore_func

Documented in zscore_func

#' Find the zscore
#'
#' @param mean the mean of a sample
#' @param val the value being examines
#' @param sd the standard deviation of the sample
#' @return zscore of the value in a sample
#' @examples
#' zscore_func(89, 80, 5)
#' @export
zscore_func <- function(mean, val, sd)
{
  (val - mean)/sd
}
rgamble819/MATH4753ouGamb0004 documentation built on April 20, 2021, 10:34 p.m.