R/SimulateFGN.R

`SimulateFGN` <-
function(n, H){
    stopifnot( H>0, H<1, n>1)
    r<-acvfFGN(H, n-1)
    if (n>=50 && H<0.84)
        z<-DHSimulate(n, r)
    else
        z<-DLSimulate(n, r)
    z
}

Try the FGN package in your browser

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

FGN documentation built on May 30, 2017, 7:19 a.m.