Hi, I'm working with activity data. I've tried to match the data structure like the examples, and I worked with similar data with no issues. But now i get the error "Error in seq.default(from = d[1, t], to = d[.N, t], by = 1/resample_rate) :
wrong sign in 'by' argument" when doing
spec = spectrogram(activ, active_behavr, period_range = c(hours(1), hours(28)))
my data is a behavr type, activ is binary values, my data has a t column with time from start in seconds. Any help would be appreciated.