powered by
Pixel data is usually expressed on a 0...255 scale for displaying. This function performs a linear renormalisation to range min...max
renorm(x, min = 0, max = 255)
numeric data
min of the range
max of the range
# NOT RUN { renorm(0:10) renorm(-5:5) #Same as above # }
Run the code above in your browser using DataLab