Skip to content
Prev 246339 / 398506 Next

Writing do and resample functions

I've just loaded the workspace and done

 > methods('*')
And got the ouptut
[1] *.difftime *.repeater

I'm not entirely sure on what this repeater and as.repeater is. From my 
reading when one want to repeat stuff for say bootstrapping, you have to 
use repeat as part of a function and put in some sort of qualification 
that end the repetitions. Coding functions is a bit beyond what is 
taught on my BSc Biology course. However, I do know that if I do the 
same in a new R session:

 > methods('*')
[1] *.difftime

*.repeater is missing. So to clarify my understanding, the * is the 
problem because it hasn't got this .repeater value attributed to it?

Thanks,
Ben Ward.
On 04/01/2011 12:30, Erich Neuwirth wrote: