Re: [R] boot error: Error in statistic(data, original, ...) : unused argument(s) ( ...)

2005-08-15 Thread Thomas Lumley
On Sat, 13 Aug 2005, Prof Brian Ripley wrote: I suspect you want AdjForBase2 - function (data, inds) and to refer to data[inds, 1] and data[inds, 2], but since your code is completely devoid of spaces and indentation, I have paid it little attention.

[R] boot error: Error in statistic(data, original, ...) : unused argument(s) ( ...)

2005-08-12 Thread John Sorkin
I am having difficulty setting up a boot strap. My code is listed below. I am getting the following error message: Error in statistic(data, original, ...) : unused argument(s) ( ...) I neither understand the error I have made that leads to the error message, nor do I know how to fix my error.

[R] boot error: Error in statistic(data, original, ...) : unused argument(s) ( ...)

2005-08-12 Thread John Sorkin
I have added on additional line to the code below, the line the defines the matrix passed to AdjForBase2. I am having difficulty setting up a boot strap. My code is listed below. I am getting the following error message: Error in statistic(data, original, ...) : unused argument(s) ( ...) I

Re: [R] boot error: Error in statistic(data, original, ...) : unused argument(s) ( ...)

2005-08-12 Thread Prof Brian Ripley
Please look at the examples and the book which package boot supports (see its DESCRIPTION file). From ?boot statistic: A function which when applied to data returns a vector containing the statistic(s) of interest. When 'sim=parametric', the first argument to 'statistic'