emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* calculating quartils, tercils (or percentiles) Using R?
@ 2022-05-22  6:40 Uwe Brauer
  2022-05-22 10:31 ` Jeremie Juste
  0 siblings, 1 reply; 6+ messages in thread
From: Uwe Brauer @ 2022-05-22  6:40 UTC (permalink / raw)
  To: emacs-orgmode


Hi

I can use R to calculate quartils 
as in 
#+begin_src 

#+tblname: TC
| Data |
|------|
|    5 |
|   10 |
|   12 |
|   15 |
|   20 |
|   24 |
|   27 |
|   30 |
|   35 |




#+begin_src R :colnames t :var t1=TC 
 summary(t1)
#+end_src

#+RESULTS:
| Data          |
|---------------|
| Min.   : 5.00 |
| 1st Qu.:12.00 |
| Median :20.00 |
| Mean   :19.78 |
| 3rd Qu.:27.00 |
| Max.   :35.00 |
#+end_src

but I can't not find a way to calculate other percentiles, like terciles or so.

Does anybody know about this, or a org-function doing it?

regards

Uwe Brauer


-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-07-14  6:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-22  6:40 calculating quartils, tercils (or percentiles) Using R? Uwe Brauer
2022-05-22 10:31 ` Jeremie Juste
2022-05-22 11:53   ` Uwe Brauer
2022-07-13 11:59   ` [rounding (ceil in matlab)] (was: calculating quartils, tercils (or percentiles) Using R?) Uwe Brauer
2022-07-14  6:14     ` Rudolf Adamkovič
2022-07-14  6:19       ` [rounding (ceil in matlab)] Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).