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 *)
(*
name
   scale: scale a column of a table

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

files

   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
         parameters.

   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

description

   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).

examples

documentation

see also

author

   Thomas Dana Schneider

bugs

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  |  USA.gov  | 
Policies  |  Viewing Files  |  Accessibility  |  FOIA