saccades icon indicating copy to clipboard operation
saccades copied to clipboard

NAs in x and y coordinates

Open tmalsburg opened this issue 9 years ago • 2 comments

Example:

data(samples)

fixations <- detect.fixations(samples)
head(fixations)

samples$x[100] <- NA
samples$y[100] <- NA
fixations <- detect.fixations(samples)
head(fixations)

What's the proper way to deal with NAs? We can't just delete samples with NAs because the velocity calculations assume that Δt between samples is constant.

tmalsburg avatar Mar 16 '15 22:03 tmalsburg