tests/testthat/_snaps/sc2interval.md

sc2interval works as expected

Code
  sc2interval(sample)
Output
  # A tibble: 3 x 3
    State Id          Interval                                        
    <chr> <chr>       <Interval>                                      
  1 <NA>  <NA>        2023-08-15 00:00:00 UTC--2023-08-15 06:00:00 UTC
  2 wake  Participant 2023-08-15 06:00:00 UTC--2023-08-15 23:00:00 UTC
  3 sleep Participant 2023-08-15 23:00:00 UTC--2023-08-16 00:00:00 UTC


Try the LightLogR package in your browser

Any scripts or data that you put into this service are public.

LightLogR documentation built on April 3, 2025, 10:10 p.m.