stdrange: Standardize or Unstandarize the Column Range
Description
Simple functions for rescaling a data matrix to a coded design and back. stdrange converts
the design in actual measurements into a coded design, while ustdrange reverses the process
(if the correct arguments are given).
matrix containing the design, or an object coercible to a matrix.
mins
vector of original values, one for each column, which should be recoded to the value -1;
or which have alreadty been recoded to -1. This and the next argument are both recycled if not of the correct length.
maxs
vector of original values which should be recoded as 1, or which have already been recoded to 1.