Shift bins along the x-axis, i.e. left or right in the default plot layout. This is useful to align feats of interest in different bins.

shift(x, bins = everything(), by = 0, center = FALSE)

Arguments

bins

to shift left/right, select-like expression

by

shift each bin by this many bases. Single value or vector of the same length as bins.