rethomics / sleepr

Analyse sleep from movement (e.g. in Drosophila)
http://rethomics.github.io
6 stars 3 forks source link

error whe applying sleep annotation #3

Closed qgeissmann closed 7 years ago

qgeissmann commented 7 years ago
seq.default(from = d_small[1, t], to = d_small[.N, t], by = time_window_length) : 
  'to' must be of length 1

Seems like d_small[.N, t] could return a vector of length != 1...?