R/standard_error-function.R

#' Compute a standard error statistic for a vector

#' @param x a vector of numeric values
#' @return a standard error
#' @rdname standard_error
#' @export
#'


standard_error <- function(x){

    x <-
      stats::sd(x) / sqrt(length(x))

}
darrellpenta/dissertate documentation built on May 14, 2019, 6:10 p.m.