[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[R example for org-table with ifs] (was: [External] : Re: export org tab
From: |
Uwe Brauer |
Subject: |
[R example for org-table with ifs] (was: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx)) |
Date: |
Wed, 07 Jul 2021 09:01:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>> "ESF" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> On Monday, 5 Jul 2021 at 16:48, Uwe Brauer wrote:
>> Well I do that myself basically, but my main problem is now: *formulas*, I
>> have to collaborate with colleagues using excel and I have to work with
>> their formulas in a way or another.
> Tell them to use R... ;-)
Out of curiosity do you have an example of using R to generate stuff
like this.
#+begin_src elisp
| / | <> | <> | <> | <> | <> | <> | <> |
| | | DMI G | DMNI H | ExNDM I | ExNDNM J | Result | Weight2 |
| | Weight: | 1 | 0.2 | 1 | 0.1 | | 0.1 |
|---+---------+-------+--------+---------+----------+--------+---------|
| | User1 | 0 | 0 | 11 | 0 | 10.1 | |
|---+---------+-------+--------+---------+----------+--------+---------|
#+TBLFM: $7=if($3>10,($3-10)*@3$8,0)+ min(10,$3)*@3$3+ min(10,$4)*@3$4 +
if($5>10,($5-10)*@3$8,0)+min(10,$5)*@3$5 +@3$6*$6;f1::
#+end_src
smime.p7s
Description: S/MIME cryptographic signature
- export org table to other formats (gnumeric or scalc or xlsx), Uwe Brauer, 2021/07/04
- Re: export org table to other formats (gnumeric or scalc or xlsx), Tim Cross, 2021/07/04
- Re: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx), Daniel Ortmann, 2021/07/04
- Re: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx), Uwe Brauer, 2021/07/05
- Re: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx), Eric S Fraga, 2021/07/05
- Re: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx), Greg Minshall, 2021/07/06
- [R example for org-table with ifs] (was: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx)),
Uwe Brauer <=
- Re: [R example for org-table with ifs], Eric S Fraga, 2021/07/07
- Re: [R example for org-table with ifs] (was: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx)), Greg Minshall, 2021/07/08
- Re: [R example for org-table with ifs], Uwe Brauer, 2021/07/08
- Re: [R example for org-table with ifs], Greg Minshall, 2021/07/08
Re: export org table to other formats (gnumeric or scalc or xlsx), Uwe Brauer, 2021/07/05
Re: export org table to other formats (gnumeric or scalc or xlsx), Uwe Brauer, 2021/07/05