Delila Program: scale

scale program

Documentation for the scale program is below, with links to related programs in the "see also" section.

{   version = 1.07; (* of scale.p 2013 Feb 22}

(* begin module describe.scale *)
   scale: scale a column of a table

   scale(fin: in, scalep: in, fout: out, output: out)


   fin:  A data table with space separated columns.
         Comment lines are started with '*', they are just copied
         to the fout.

   fout: The fin data table with a particular column altered or
         an additional column on the end created according to the

   scalep:  parameters to control the program.  The file must contain the
      following parameters, one per line:

      parameterversion: The version number of the program.  This allows the
         user to be warned if an old parameter file is used.

      inputcolumn: integer; the column to read in.
      lowerbound:  real;    the lower bound to accept
      upperbound:  real;    the upper bound to accept
      multiplier:  real;    a number to multipy the data by
      adder:       real;    a number to add to the data after multiplication
      colwid:      integer; output column width in characters
      coldec:      integer; output column decimals in characters
      newcolumn:   character; if 'n' put a new column at the end
         of the line, otherwise alter the inputcolumn.
         NB: newcolumn is not implemented yet

   output: messages to the user


   This program allows one to manipulate the data in a space delimited
   data table.  One can add a column at the end or one can alter a
   column in the middle of the table.  One can exclude values outside
   a given range (lowerbound to upperbound).



see also


   Thomas Dana Schneider


technical notes

(* end module describe.scale *)
{This manual page was created by makman 1.45}

{created by htmlink 1.62}
U.S. Department of Health and Human Services  |  National Institutes of Health  |  National Cancer Institute  |  | 
Policies  |  Viewing Files  |  Accessibility  |  FOIA