  1.  NAME

  statcalc - Calculate statistics

  2.  SYNOPSIS

  calc = statcalc(stat, options )

  3.  DESCRIPTION

  This function calculates the statistics saved in the statistics array.
  See stat(5m) for more information about statistics on unlimited
  datasets.

  4.  PARAMETERS

     stat
        Satitistics array (Mx7) with current updated statistics.

  5.  OPTIONS

     '-hdg',  hdg
        Specifies that non-NaN elements in vector hdgof length M refer
        to heading data,and should be calculated within 0 and 360.

  6.  RETURNS

     calc
        Calculated statistics.

  7.  SEE ALSO

  flagdata(3m)stat(5m)statcalc(3m)statinit(3m)statlim(3m)stat_str(3m)statupd(3m)

  8.  AUTHORS

  Pierre Jaccard, Geophysical Institute, University of Bergen, 1999

