I have a data table consisting of multiple columns. Column 1:3 are integer64, columns 4:8 are numeric. I want to scale the integer64 columns (which contain both ingeter64 values and NAs) between 0 and 5, leaving NAs as NAs.
The min value of integer64 columns is 1e+5, while the max is 1e+20.
Is there a way to do this?