Calculates the population estimate of the standard deviation, or the unadjusted standard deviation.

ts_sd(y, na.rm = TRUE, type = c("Bessel", "unadjusted")[1], silent = TRUE)

Arguments

y

Time series or numeric vector

na.rm

Remove missing values before calculations

type

Apply Bessel's correction (divide by N-1) or return unadjusted SD (divide by N)

silent

Silent-ish mode (default = TRUE)

Value

Standard deviation of y