Round times by column

round_times(.stdata, colname, round_by = 5)

Arguments

.stdata

The sleeptimes dataframe

colname

the column required to be rounded

round_by

Amount (in minutes) to round sleep times to

Value

The sleep dataframe with all sleep.start and sleep.end rounded to X minute interval