R/standard_error.R

Defines functions standard_error

#' Calculate the standard error for a sample
#'
#' returns the standard error of
#' a numeric vector
#'
#' @param v numeric vector
#'
#' @return number
#' @export
#'
#' @examples
standard_error <- function(v) {
  height/sqrt(length(v))
}
AoifeONeill/mypackage documentation built on Jan. 8, 2020, 12:01 a.m.