R/popFunctions.R

Defines functions sd.pop var.pop

#' @export
var.pop <- function(x) {
     #test comment
     N <- length(x)
     var.out <- var(x)*(N-1)/N
     return(var.out)
}

#' @export
sd.pop <- function(x) {
     sqrt(var.pop(x))
}
dstanley4/learnSampling documentation built on Aug. 30, 2023, 12:59 a.m.