Re: [R] Arguments in functions when packaging

2014-01-28 Thread Duncan Murdoch
On 14-01-28 2:48 AM, Eva Prieto Castro wrote: Hi everybody, I have a doubt in relation with arguments in functions when packaging: Does it make sense the fact of having dots as an argument when it is the only argument?. I mean you have a package and a function that will be used directly by the

[R] Arguments in functions when packaging

2014-01-27 Thread Eva Prieto Castro
Hi everybody, I have a doubt in relation with arguments in functions when packaging: Does it make sense the fact of having dots as an argument when it is the only argument?.  I mean you have a package and a function that will be used directly by the user has dots as an argument; for example:

Re: [R] Arguments in functions

2010-12-16 Thread Phil Spector
Paul - Please take a look at the help file for boot, i.e. type ?boot at the R prompt. There you will see, along with other information: statistic: A function which when applied to data returns a vector containing the statistic(s) of interest. When ‘sim="parametric"’

[R] Arguments in functions

2010-12-16 Thread Prew, Paul
Hello, I'm not much of a programmer, and am trying to understand the workings of the function below called "RStatFctn" within this bootstrap procedure. RStatFctn is defined to have two arguments: "x", intended to be a data vector; and "d" intended to be an index (or so it looks to me). Later