From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OHWDJNW0z2KKIgEAbAwnHQ (envelope-from ) for ; Thu, 14 Jul 2022 08:16:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EOUyI9W0z2KNaQEAG6o9tA (envelope-from ) for ; Thu, 14 Jul 2022 08:16:53 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3DD6F2CED5 for ; Thu, 14 Jul 2022 08:16:53 +0200 (CEST) Received: from localhost ([::1]:57054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBs9c-000571-Bw for larch@yhetil.org; Thu, 14 Jul 2022 02:16:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBs7T-00056Z-A1 for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 02:14:39 -0400 Received: from mr85p00im-hyfv06021401.me.com ([17.58.23.190]:59098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBs7R-0003PE-Qp for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 02:14:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1657779276; bh=No2yyI3yCjLc9M34qsKOv4YwY6ltBiLKlS30ZKpHgpk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XRVLaAbaWLt7aG/VXWJDJflG+GsFVXN3BsmhhP3LZfKVBtJ46ynjFHRb5MA0KbK62 PDg0Uu22r1tXl4Sa4iKnXzlfQOg075xNUMrORcZvka1vL/qbYQQlUk1FdVTZHTzC7+ wW2NAXw+cdtNAyDL9JeGIip2ryP/gcDBHNsyKawAN83MNmOWUFAmdewFEm+sgHwfl6 fyAF5nZWW80hrYhcs1SuLh2bFskEygS373cwAkupytsuvlfMWjWllfdWNgTxbGNcHq pDIbSFeiVopYl4YKbD/vm2T2pEwRlLQx4khkPeqOhIlREuimEq4qw/EppJV0UMi86K zhDxi0xYzU1xA== Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-hyfv06021401.me.com (Postfix) with ESMTPSA id C77703038AD1; Thu, 14 Jul 2022 06:14:35 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Uwe Brauer , emacs-orgmode@gnu.org Subject: Re: [rounding (ceil in matlab)] (was: calculating quartils, tercils (or percentiles) Using R?) In-Reply-To: <87o7xtw7ds.fsf_-_@mat.ucm.es> References: <87sfp2hxyr.fsf@mat.ucm.es> <87sfp1luyo.fsf@gmail.com> <87o7xtw7ds.fsf_-_@mat.ucm.es> Date: Thu, 14 Jul 2022 08:14:33 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: aK_GI_chcQfReF-2msGAaNGHLzrXUbNw X-Proofpoint-ORIG-GUID: aK_GI_chcQfReF-2msGAaNGHLzrXUbNw X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=875 phishscore=0 malwarescore=0 adultscore=0 spamscore=0 bulkscore=0 suspectscore=0 clxscore=1011 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2207140024 Received-SPF: pass client-ip=17.58.23.190; envelope-from=salutis@me.com; helo=mr85p00im-hyfv06021401.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657779413; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=No2yyI3yCjLc9M34qsKOv4YwY6ltBiLKlS30ZKpHgpk=; b=PLcnJZaLNnmE8AxwXIgSseufJf3Qi4T3oCbTPZC8CUymT9UqccSA7QX+NWgqd6b077yV2a oA1q3GfTngkkOFk/Sz2PlqSe4PrmMz2nFdBu9D9lEBmlhErLOqun8ap+XQMgIC6Rl9yUjn RGlWJIfUls9fhaAqkfa4sPf8mxnM2hwZ0bjDbGMCZXTOhypv4p6TQn6pOczBEvxf5AXNHk D8WihafhEuXj+Y3nbUCYzvSpAbY6aDFpJKTPW4smRL9JP7hTzVjlzKj/eV3F1X2UYc4HCZ zYwBTLQ5CCKu99bVd2xuNwEfkUA7VS0Livd6e3dDYGkgnFubIYf/JPlN0DX0rw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657779413; a=rsa-sha256; cv=none; b=ap+I5a5jfx9+q7un2kNL/dobtq5mvMuFfoPQOn+7B2L5IgRxZfGOAhRM4I+zDTYPpYhFNu rRRwRTwwiLsRKPBIbL8GQDJ8UyfBE9UgTETQ8smv9yARekayf6c92cEFr0PE7h4UgehOAp JKDnw7IGrsoysYgMBMQJvruIg1DZbHvg9YC4NNLQE+tZezBoOtRnVN4KmBP4j07UAXhJco 53DdLvP4VYdNU+eSfcVygxVFQ5jAm2kg9HEFtooCZmi9yqWs4OD5v7zqleG/WvpjIdX0+Q t7qxEnQ1JBchcTVKW8sf+Hy5y8wLTw/B7IZlID9q0KZOpkvYKys5Q0V0iBPgVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=XRVLaAba; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=XRVLaAba; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3DD6F2CED5 X-Spam-Score: -9.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: vfa6p8BeuWm6 Uwe Brauer writes: > [=E2=80=A6] 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))) Rudy --=20 "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=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia