compute the DVARS quality control metric

computeDVARS(boldMatrix)

Arguments

boldMatrix

matrix of bold signal

Value

DVARS vector.

Examples

mat <- matrix(c(0,1,2,0,0,1,2,2,2),ncol=3) dv<-computeDVARS(mat)