title: Range standardization (0 to 1) in R
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5468280/scale-a-series-between-two-points-in-r">scale a series between two points in R</a>  </p>
  </blockquote>
  
  
  
  <p>Does any know of an R function to perform range standardization on a vector? I'm looking to transform variables to a scale between 0 and 1, while retaining rank order and the relative size of separation between values. </p>
  
  <p>Just to be clear, i'm not looking to standardize variables by mean centering and scaling by the SD, as is done in the function scale(). </p>
  
  <p>I tried the functions mmnorm() and rangenorm() in the package 'dprep', but these don't seem to do the job.</p>