scaleweight function

Scales the content of a column