Given a vector, shift the values to have a new center, but keeping the same minimum and maximum. Designed to work with time values where the minimum indicates the same time as the maximum (e.g., 24:00:00 is the same as 00:00:00).

## Arguments

- x
the time scores to shift

- center
A value (between the minimum and maximum) to center the time scores. Defaults to 0, which has no effect.

- min
The theoretical minimum of the time scores. Defaults to 0.

- max
the theoretical maximum of the time scores. Defaults to 1.

- inverse
A logical value, whether to ‘unshift’ the time scores. Defaults to

`FALSE`

.