[R] R function for Step-wise Panel Regression

2014-06-11 Thread Nitin Jain
Hi, Can anyone please suggest if it's possible to do a step-wise panel regression in R ? Thanks, Nitin [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] Capture warnings

2008-02-19 Thread Nitin Jain
Dear R-help members, I am using logistic regression on a high throughput data and would like to capture warning messages, if generated for a particular probe. The way I am approaching it currently is: myResult <- data.frame(matrix(NA, nrow = 1000, ncol = 4)) colnames(myResult) <- c("intercep

Re: [R] saving results under specified file name

2007-09-23 Thread Nitin Jain
On 9/23/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > > Frank E Harrell Jr wrote: > > Nitin Jain wrote: > > > >> Thanks Professor Ripley and Professor Harrell. > >> > >> Yes, save(list=newname, ...) works. > >> > >> Best, &

Re: [R] saving results under specified file name

2007-09-23 Thread Nitin Jain
Thanks Professor Ripley and Professor Harrell. Yes, save(list=newname, ...) works. Best, Nitin - Original Message From: Prof Brian Ripley <[EMAIL PROTECTED]> To: Nitin Jain <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Sent: Sunday, September 23, 2007 11:14:37 AM Subject: Re

[R] saving results under specified file name

2007-09-23 Thread Nitin Jain
Hello, I would like to save the results in a specified file name. Here is a test example: aa <- function(xx, newname) { yy <- xx^2 rdName <- file.path(paste(newname, ".RData", sep = "")) assign(eval(newname), yy) save(newname, file=rdName) ## FIXME } aa(3, "test") load("test.RData