SD_sd: SD of SD autocorrelation with detrending

Description Usage Arguments Value Examples

View source: R/rolling_window.R

Description

SD of SD autocorrelation with detrending

Usage

1
SD_sd(x, detrend = FALSE, prop_req = 0.99)

Arguments

x

numeric

detrend

TRUE or FALSE, default = FALSE

prop_req

numeric value between 0 and 1, default = 0.99

Value

numeric

Examples

1
2
3
4
5
6
y <- rnorm(10)
SD_sd(y)
SD_sd(y, detrend = TRUE)
y[1] <- NA
SD_sd(y)
SD_sd(y, prop_req = 0.5)

cbuelo/tvsews documentation built on Jan. 21, 2022, 1:31 a.m.