Skip to contents

scale the data into a fixed range

Usage

range_scale(data, lwr = 1, upr = 5)

Arguments

data

a numeric vector

lwr, upr

the lower/upper bound of the range

Value

a numeric vector recording the scaled data