[R] Using eval() more efficiently?

2004-09-19 Thread Kevin Wang
Hi, Suppose I have a vector: names.select [1] Idd13 Idd14 Idd8.12 Idd7 automatically generated by some selection criteria. Now, if I have a data frame with many variables, of which the variables in names.select are also variables from the data frame. e.g. all.df[1:5,] Mouse Idd5

RE: [R] Using eval() more efficiently?

2004-09-19 Thread Gabor Grothendieck
glm( Cross ~., all.df[,c(Cross, names.select)], family = binomial) --- From: Kevin Wang [EMAIL PROTECTED] Hi, Suppose I have a vector: names.select [1] Idd13 Idd14 Idd8.12 Idd7 automatically generated by some selection criteria. Now, if I have a data frame with many variables,