From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: [Solution?] (was: table lookup combine remote: problems)
Date: Mon, 18 Jun 2018 09:07:19 +0200 [thread overview]
Message-ID: <87zhzs609k.fsf@mat.ucm.es> (raw)
In-Reply-To: 87d0wq6b3j.fsf@mat.ucm.es
[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]
>>> "Uwe" == Uwe Brauer <oub@mat.ucm.es> writes:
It seems that the following works.
#+TBLNAME: raw-data
|-------+--------+-------+------------|
| First | Second | Third | Forth |
|-------+--------+-------+------------|
| NP | NP | NP | NP |
| NP | NP | NP | NP |
| 3.5 | NP | NP | 2.8 |
| NP | NP | NP | NP |
| 2.5 | 3.25 | 7.7 | 3.5 |
| 4 | NP | 4.5 | 3.7 |
| NP | NP | NP | NP |
|-------+--------+-------+------------|
#+TBLNAME: stat-marco
#+ATTR_HTML: :border 2 :rules all :frame border
| | lower bound | upper bound | frequency |
|----+-------------+-------------+-----------|
| SS | 0.1 | 4.9 | 1 |
| AP | 5 | 6.9 | 0 |
| NT | 7 | 8.9 | 1 |
| SB | 9 | 10 | 0 |
| NP | | | 5 |
#+TBLFM: $4='(length (org-lookup-all '($2 $3) '(remote(raw-data,@2$3..@>$3)) nil 'in-interval));N::@>$4='(length(org-lookup-all "NP" '(remote(raw-data,(@2$3..@>$3)) nil)))
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
prev parent reply other threads:[~2018-06-18 7:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-16 14:48 table lookup combine remote: problems Uwe Brauer
2018-06-18 7:07 ` Uwe Brauer [this message]
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=87zhzs609k.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--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.