emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calculating quartils, tercils (or percentiles) Using R?


From: Uwe Brauer
Subject: Re: calculating quartils, tercils (or percentiles) Using R?
Date: Sun, 22 May 2022 13:53:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hello Jermie


> Hello Uwe,




> I would recommend checking the R documentation. 

Believe me, I tried (well I mostly googled, and I failed, I understand
now why, my column name was not consistent, with the call in src block grrr


> I believe that you might be looking for the following.

>  #+begin_src R :colnames t :var t1=TC 
>   quantile(t1$Data,c(1/3,2/3,1))
>  #+end_src

>  #+RESULTS:
>  |  x |
>  |----|
>  | 14 |
>  | 25 |
>  | 35 |

Definitely! Works like charm! 😀

Thanks so much!

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]