From: Jude DaShiell <jdashiel@shellworld.net>
To: emacs-orgmode@gnu.org
Subject: calculating column averages
Date: Fri, 22 Jul 2011 05:06:42 -0400 (EDT) [thread overview]
Message-ID: <alpine.BSF.2.00.1107220459580.49902@freire1.furyyjbeyq.arg> (raw)
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:
-
next reply other threads:[~2011-07-22 9:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 9:06 Jude DaShiell [this message]
2011-07-22 9:24 ` calculating column averages Rasmus
2011-07-22 21:48 ` Ken Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.BSF.2.00.1107220459580.49902@freire1.furyyjbeyq.arg \
--to=jdashiel@shellworld.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.