Re: [R] loops and simulation

2011-07-22 Thread Dylan Beaudette
On Wed, Jul 20, 2011 at 10:43 PM, David Winsemius dwinsem...@comcast.net wrote: On Jul 21, 2011, at 1:04 AM, Daniel Malter wrote: http://mlg.eng.cam.ac.uk/dave/rmbenchmark.php I haven't ever tried it myself, but online sources suggest that Matlab possibly gains speed by internally avoiding

Re: [R] loops and simulation

2011-07-20 Thread David Winsemius
On Jul 20, 2011, at 1:34 AM, Daniel Malter wrote: snipped requests, except that you were referring to SAS and had heard that R does not like loops. (This is factually wrong. But R can be slow looping). Where did you hear this? Can you cites any references? -- David Winsemius, MD West

Re: [R] loops and simulation

2011-07-20 Thread Daniel Malter
From: David Winsemius [dwinsem...@comcast.net] Sent: Wednesday, July 20, 2011 9:01 AM To: Daniel Malter Cc: r-help@r-project.org Subject: Re: [R] loops and simulation On Jul 20, 2011, at 1:34 AM, Daniel Malter wrote: snipped requests, except that you were

Re: [R] loops and simulation

2011-07-20 Thread David Winsemius
From: David Winsemius [dwinsem...@comcast.net] Sent: Wednesday, July 20, 2011 9:01 AM To: Daniel Malter Cc: r-help@r-project.org Subject: Re: [R] loops and simulation On Jul 20, 2011, at 1:34 AM, Daniel Malter wrote: snipped requests, except that you were

Re: [R] loops and simulation

2011-07-19 Thread Daniel Malter
I dare the conjecture that if you had written the code, you would know how to do this. This suggests that you are asking us to do your homework, which is not the purpose of this list. A simple inclusion of the code in a for or while loop and storing the estimated parameters with the index of the

Re: [R] loops and simulation

2011-07-19 Thread Daniel Malter
Yes, there are in Europe. And there are summer classes in the US, as well. And no, this list is not so much about helping beginners to learn R. For that, there is a myriad of online sources. Rather, this list is for people who have exhausted their ability to (elegantly) solve a problem. Also, it