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 Sept. 29, 2024, 6:34 p.m.