R/acfHKp.R

Defines functions acfHKp

Documented in acfHKp

acfHKp <- function(H, maxlag) {
    h2 <- 2*H
    k <- 1:maxlag
    c(1,0.5 * ((k + 1)^h2 - 2 * k^h2 + (k - 1)^h2))
}

Try the HKprocess package in your browser

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

HKprocess documentation built on Oct. 27, 2022, 1:06 a.m.