matiasandina / fed3

An R package to read and analyze data from FED3 devices
https://matiasandina.github.io/fed3/
Other
0 stars 0 forks source link

add `chop_data()` to partition data according to `datetime` #18

Open matiasandina opened 6 months ago

matiasandina commented 6 months ago

Sometimes you just need to chop (slice, split, find a better verb) your data. This might happen if you kept the mice running and you had "multiple experiments" going on (instead of turning off and back on to get a new session/file, mice kept running and we want to digitally split the data) This can be a glorified wrapper of filter(between(time_col, low, high)) with some nice handling of low and high