From murdoch.duncan at gmail.com  Wed Mar 23 19:00:55 2011
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Wed, 23 Mar 2011 14:00:55 -0400
Subject: [Rd] argument handling in boot.ci
In-Reply-To: <4D8A1339.4070307@warwick.ac.uk>
References: <4D8A1339.4070307@warwick.ac.uk>
Message-ID: <4D8A3557.1000705@gmail.com>

On 23/03/2011 11:35 AM, Matthew Vernon wrote:
> Hi,
>
> boot.ci fails to check if the "type" argument is valid or not. This
> tripped me up when I had a script that called boot.ci(type="normal",...)
> repeatedly - only later when I tried to do some further analysis did I
> realise I'd got nothing useful back from boot.ci.
>
> It strikes me that this behaviour is probably incorrect, and that
> boot.ci should stop if the "type" argument (or, indeed, any other
> supplied argument) is invalid. Am I correct?


boot.ci is in a contributed package (it's "Recommended", which means 
that a copy is distributed with R, but it is not part of R), so 
suggestions should go to the maintainer.  But you need to put together a 
simple example to illustrate the problem.  When I modify the first 
example in example(boot.ci) to specify type="normal", I get an error 
message.

Duncan Murdoch



[Rd] argument handling in boot.ci
Duncan Murdoch