decorate.ranger function

Decorates a "ranger" object with a "variable.levels" element.