[R] R and Oracle

2010-10-14 Thread siddharth . garg85
Hi Can someone please help me with connecting to oracle via R. I have been trying to use ROracle but its giving me a lot of trouble because of pro*c. ThanksRegards Siddharth Sent on my BlackBerry® from Vodafone __ R-help@r-project.org mailing list

[R] Rolling window linear regression

2010-08-18 Thread siddharth . garg85
Hi Does there exists an efficient way of performing linear regression on rolling windows in R. The exact problem is: We have a dataset of length l. The window size is w. Now, I perform linear regression on window i to (i+w) . Using this model can I perform linear regression over window (i+1)

Re: [R] Rolling window linear regression

2010-08-18 Thread siddharth . garg85
Thanks, I will try it. Regards Sid Sent on my BlackBerry® from Vodafone -Original Message- From: Dennis Murphy djmu...@gmail.com Date: Wed, 18 Aug 2010 08:46:49 To: siddharth.gar...@gmail.com Subject: Re: [R] Rolling window linear regression This is called kernel-based regression; the

[R] Data frame modification

2010-07-28 Thread siddharth . garg85
Hi I am trying to modify a data frame D with lists x and y in such a way that if a value in x==0 then it should replace that value with the last not zero value in x. I.e. for loop over i{ if(D$x[i]==0) D$x[i]=D$x[i-1] } The data frame is quite large in size ~ 43000 rows. This operation