R/HPF.R

Defines functions HPF

HPF <-
function(DCM){
    if(DCM$HPF > 0) {
	    n <- floor( 2*(DCM$v*DCM$TR)/DCM$HPF + 1 )
	    K <- spm_dctmtx(DCM$v, n)[,-1]
        K
                 		}
    else {
	    K <- 1
	    K
 		}
    }

Try the FIAR package in your browser

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

FIAR documentation built on June 5, 2018, 5:03 p.m.