[Top][All Lists]

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

Re: [rounding (ceil in matlab)] (was: calculating quartils, tercils (or

From: Rudolf Adamkovič
Subject: Re: [rounding (ceil in matlab)] (was: calculating quartils, tercils (or percentiles) Using R?)
Date: Thu, 14 Jul 2022 08:14:33 +0200

Uwe Brauer <oub@mat.ucm.es> writes:

> […] the matlab command `ceil' for example does this, I can't find
> anything similar in the documentation.

How about the 'ceiling' function?  See '?ceiling'.  For example:

ceiling(quantile(c(1, 2, 3), c(1 / 3, 2 / 3, 1)))

"One can begin to reason only when a clear picture has been formed in
the imagination."
-- Walter Warwick Sawyer, Mathematician's Delight, 1943

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava

reply via email to

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