R/rescale.min.max.r

Defines functions rescale.min.max

 
    rescale.min.max = function( x, xmax=1 ) {
      y = x - min(x, na.rm=T)
      y = y / max(y, na.rm=T)
    }
jae0/snowcrab documentation built on Nov. 6, 2024, 10:13 p.m.