R/error.R

Defines functions std_error

Documented in std_error

#' Standard Error
#'
#' @description Computes the standard error
#' @param x a data vector
#'
#' @return
#' @export
#'
std_error <- function(x) {
  sd(x)/sqrt(length(x))
}
Emilostuff/dtuR documentation built on Dec. 17, 2021, 6:29 p.m.