R/st_error.R

Defines functions st_error

Documented in st_error

#' Calculates standard error across a vector
#'
#' @param vect a vector of values for which the standard deviation can be computed
#'
#' @return numeric value of the standard error
#' @importFrom stats sd
#' @export
#'
#' @examples
st_error <- function(vect){

  sd(vect)/sqrt(length(vect))
}
JKRWard/firstpackage documentation built on Jan. 8, 2020, 12:02 a.m.