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
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,
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
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=.,
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,