R/sd2.R

sd2 <-
function (x, is.sample = TRUE, weighting = NULL, wmean = FALSE, na.rm = TRUE)
{
  var_x <- var2(x, is.sample = is.sample, weighting = weighting, wmean = wmean, na.rm = na.rm)
  sd_x <- sqrt(var_x)

  return(sd_x)
}

Try the REAT package in your browser

Any scripts or data that you put into this service are public.

REAT documentation built on Sept. 5, 2021, 5:18 p.m.