[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Determine min/max values in a table
From: |
Karl Voit |
Subject: |
Re: [O] Determine min/max values in a table |
Date: |
Sat, 5 Aug 2017 23:20:32 +0200 |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
* Adam Porter <address@hidden> wrote:
> Thierry Banel <address@hidden> writes:
>
>> Alternatively you have the orgtbl-aggregate package available on Melpa.
>>
>> #+BEGIN: aggregate :table "myvalues" :cols "min(Values) max(Values)
>> mean(Values)"
>>
>> | min(Values) | max(Values) | mean(Values) |
>> |-------------+-------------+--------------|
>> | 2 | 7 | 4.5 |
>
> Wow, that's very cool! Had no idea about that package.
Although I do have the package installed, I did not think about
min/max/mean of it ;-)
> Karl, if that doesn't work for you, you might look at the
> org-table-to-lisp function. Here's an example of a function that uses
> it to sum columns in the current region:
Thanks for the code I copied to my knowledge base.
For now, vmin/vmax did the trick and I also refreshed my knowledge
of orgtbl-aggregate.
--
get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
Personal Information Management > http://Karl-Voit.at/tags/pim/
Emacs-related > http://Karl-Voit.at/tags/emacs/