R/LocalF.r

Defines functions LocalF

Documented in LocalF

LocalF <- function(x, phi) {
  n <- length(x)
  Fhat <- 1:n * 0
  dx <- diff(x)
  Fhat[2:n] <- cumsum(dx * J00(phi[1:(n - 1)], phi[2:n]))
  return(matrix(Fhat, ncol = 1))
}

Try the logcondens package in your browser

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

logcondens documentation built on Aug. 22, 2023, 5:06 p.m.