A dataset containing ten sets of time in and out by bed. This simulates patients moving in and out of departments or hospitals.
beds
A data frame with 10 rows and 4 variables:
a grouping variable, representing a specific bed
individual patients
time each patient moved into their current bed
time each patient moved out of their current bed