Re: [R] glm automation

2006-03-08 Thread ronggui
I just pointed out the mistake about using index. Andy's post let me know the trouble of using formula like that.It's valuable information for me:) Thank you! 在 06-3-8,Liaw, Andy[EMAIL PROTECTED] 写道: From: ronggui 2006/3/8, A Mani [EMAIL PROTECTED]: Hello, I have two problems

[R] glm automation

2006-03-07 Thread A Mani
Hello, I have two problems in automating multiple glm(s) operations. The data file is tab delimited file with headers and two columns. like ABC EFG 1 2 2 3 3 4 dat - read.table(FILENAME, header=TRUE, sep=\t, na.strings=NA, dec=., strip.white=TRUE) dataf - read.table(FILENAME,

Re: [R] glm automation

2006-03-07 Thread Jean Eid
If you know what the dependent variable is called and is the same for all regressions see ?formula Or you can do glm(ABC~. , ...,data=dat) PS. the way you are calling the formula you are taking the first element in the first column and the first element in the second column. So that is not

Re: [R] glm automation

2006-03-07 Thread ronggui
2006/3/8, A Mani [EMAIL PROTECTED]: Hello, I have two problems in automating multiple glm(s) operations. The data file is tab delimited file with headers and two columns. like ABC EFG 1 2 2 3 3 4 dat - read.table(FILENAME, header=TRUE, sep=\t, na.strings=NA, dec=.,

Re: [R] glm automation

2006-03-07 Thread Liaw, Andy
From: ronggui 2006/3/8, A Mani [EMAIL PROTECTED]: Hello, I have two problems in automating multiple glm(s) operations. The data file is tab delimited file with headers and two columns. like ABC EFG 1 2 2 3 3 4 dat - read.table(FILENAME, header=TRUE, sep=\t,