Centralises a periodic position into [period/2, period) by shifting by n*period, where n is an integer

Share:

Description

Centralises a periodic position into [period/2, period) by shifting by n*period, where n is an integer

Usage

1
centralise(x, period = 1)

Arguments

x

Position

period

Period

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.