R/baseIRF.R

"baseIRF" <-
function (irfvec, indexlow, indexhigh, removeNeg = FALSE)
{
        irfvec <- irfvec - mean(irfvec[indexlow:indexhigh])
        if(removeNeg)
                      irfvec[which(irfvec < 0 )] <- 0
        irfvec
}

Try the TIMP package in your browser

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

TIMP documentation built on May 2, 2019, 5:55 p.m.