jonkeane / mocapGrip

An R package that encapsulates a motion capture grip and gesture analysis project
3 stars 0 forks source link

makeElanFiles() doesn't check if the filtered markers file has any rows #11

Closed jonkeane closed 8 years ago

jonkeane commented 8 years ago

When the filtered markers file has no rows, everything reads appropriately, however there is an error at line 4 of gripClipping.R dfOut <- data.frame(times = as.numeric(unlist(dataNew["Time..sec."]))-min(unlist(dataNew["Time..sec."])))