calcInSampleError.heddata function

Calculate index errors in sample (hed approach)