r lm all variables code example
Example: r glm select all variables
#select all column
var = glm(Stuff ~ ., data=mydata, family=binomial)
#select all colum exclude column
var = glm(Stuff ~ . -column , data=mydata, family=binomial)
#select all column
var = glm(Stuff ~ ., data=mydata, family=binomial)
#select all colum exclude column
var = glm(Stuff ~ . -column , data=mydata, family=binomial)