shift_weight function

(Internal function) Shift weight from one set of cases to another