powered by
RESCALE(x, nx1, nx2, minx, maxx)
x = rnorm(10) RESCALE(x, 3, 9, min(x), max(x) )
Run the code above in your browser using DataLab