emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] calculating column averages


From: Jude DaShiell
Subject: [O] calculating column averages
Date: Fri, 22 Jul 2011 05:06:42 -0400 (EDT)

In this case I don't want to tell org-mode how many rows to calculate, and 
I put a table together with an averages line in its own footer section.  I 
prefer when doing these things to output final averages and totals just 
under table headers then go down into detail records after that.  Could 
someone take a look at the following table and tell me how to get an 
average on column 2 of this table?
Cut here.

| Date Stamp             |         Systalic | Diastalic | Pulse |   |   |   |   
|   |   |   |
|------------------------+------------------+-----------+-------+---+---+---+---+---+---+---|
| [2011-07-19 Tue 02:26] |              138 |        92 |    74 |   |   |   |   
|   |   |   |
| [2011-07-21 Thu 03:50] |              128 |        79 |    76 |   |   |   |   
|   |   |   |
| [2011-07-20 Wed 04:03] |              130 |        85 |    74 |   |   |   |   
|   |   |   |
| [2011-07-22 Fri 02:33] |              121 |        80 |    79 |   |   |   |   
|   |   |   |
|                        |                  |           |       |   |   |   |   
|   |   |   |
|------------------------+------------------+-----------+-------+---+---+---+---+---+---+---|
| Averages               | $2=vmean(@<..@>) |           |       |   |   |   |   
|   |   |   |
|                        |                  |         - |       |   |   |   |   
|   |   |   |
|                        |                  |           |       |   |   |   |   
|   |   |   |
  
# Local Variables:
# kept-new-versions: 100
# version-control: t
# End:

-





reply via email to

[Prev in Thread] Current Thread [Next in Thread]