From therneau at mayo.edu  Tue Oct 28 13:44:20 2014
From: therneau at mayo.edu (Therneau, Terry M., Ph.D.)
Date: Tue, 28 Oct 2014 07:44:20 -0500
Subject: [Rd] is.whole()
In-Reply-To: <mailman.23.1414494007.30795.r-devel@r-project.org>
References: <mailman.23.1414494007.30795.r-devel@r-project.org>
Message-ID: <58e5f6$jc59de@ironport9.mayo.edu>

Martin,
   I can't imagine using such a function myself, the reason being that as Bill and Duncan 
point out, the correct answer depends on the situation.
   But given the regular reappearance of this topic, I think that perhaps creation of your 
function is a good idea, largely to function as a repository for the knowlege.  If one 
takes that view, then perhas the function has two optional arguments: "case" and 
"tolerance".  The first would choose a scenario of "exact", "numeric", "count", etc, where 
exact refers to Duncan's case, numeric to your default, and count to Bill's  a+1 > a.  The 
second argument would be rarely used.
    The primary point of the function would be the "Details" section of its manual page. 
Whenver the issue comes up the response could then be "see the is.whole() function and its 
documentation".

Terry T.

On 10/28/2014 06:00 AM, r-devel-request at r-project.org wrote:
> Diverted to R-devel, as I'm requesting comments about a proposal
> to add is.whole() to R just so this issue does not trail on for
> centuries (;-), see below.
>
>>>>>> >>>>>



[Rd] is.whole()
Therneau, Terry M., Ph.D.