[R] Writing do and resample functions

2011-01-04 Thread Ben Ward
Hi, I'm trying to take a function from a workspace download provided in a stats textbook book, so I have it in my workspace to use all the time. I opened the workspace and typed the names of the two functions to get the code that makes them up:

Re: [R] Writing do and resample functions

2011-01-04 Thread Erich Neuwirth
It seems that the textbook workspace you are using as a method definition for * for class repeater. Load the workspace and try methods(`*`) If you get something like '*.repeater' this suspicion is confirmed On 1/4/2011 11:36 AM, Ben Ward wrote: Hi, I'm trying to take a function from a

Re: [R] Writing do and resample functions

2011-01-04 Thread Ben Ward
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