R/standardize.R

Defines functions standardize

Documented in standardize

#' Standardize
#'
#' Standardize (i.e., normalize, obtain z-scores, or obtain the
#' standard scores)
#'
#' @param x a numeric vector
#' @return the output will be a vector of the standard scores of the input.
#' @examples
#' standardize(1:10)
#' @export
standardize <- function(x = NULL) {
  return(kim::z_score(x))
}

Try the kim package in your browser

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

kim documentation built on Oct. 9, 2023, 5:08 p.m.