Thanks a lot for help! :)
I've invented a more complicated way to make it work: 
f <- as.formula(paste("data.y~", paste( names(data.x), collapse = "+")))
fml<-glm(f, data=data.x,family=binomial)


Try this:

glm(y ~ ., family = binomial, data = data, ...)


-- 
View this message in context: 
http://n4.nabble.com/List-arguments-from-data-frame-columns-in-formula-tp1012146p1012230.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to