[R] How should i change the SAS Codes into R Codes?

2009-07-27 Thread zhijie zhang
Dear R users, I have a SAS codes with several loops in it, and i hope to use R to do the same task. The SAS codes are as follows, /*to generate the dataset*/ DATA Single_Simulation; DO se=0 to 1 by 0.01; DO sp=0 to 1 by 0.01; DO DR=0 to 1 by 0.01; TR=(DR+sp-1)/(se+sp-1+1.0e-12);

Re: [R] How should i change the SAS Codes into R Codes?

2009-07-27 Thread Matt Aldridge
mangosolutions - R and S consultants Tel +44 (0)1249 767700 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of zhijie zhang Sent: 27 July 2009 16:04 To: r-h...@stat.math.ethz.ch Subject: [R] How should i change the SAS Codes into R

Re: [R] How should i change the SAS Codes into R Codes?

2009-07-27 Thread John Kane
/. The pdf is a very useful guide for anyone beginning to use R. --- On Mon, 7/27/09, zhijie zhang rusers...@gmail.com wrote: From: zhijie zhang rusers...@gmail.com Subject: [R] How should i change the SAS Codes into R Codes? To: r-h...@stat.math.ethz.ch Received: Monday, July 27, 2009, 11

Re: [R] How should i change the SAS Codes into R Codes?

2009-07-27 Thread zhijie zhang
: zhijie zhang rusers...@gmail.com Subject: [R] How should i change the SAS Codes into R Codes? To: r-h...@stat.math.ethz.ch Received: Monday, July 27, 2009, 11:03 AM Dear R users, I have a SAS codes with several loops in it, and i hope to use R to do the same task. The SAS codes