📜  r glm 选择所有变量 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:58.006000             🧑  作者: Mango

代码示例1
#select all column
var = glm(Stuff ~ ., data=mydata, family=binomial) 

#select all colum exclude column
var = glm(Stuff ~ . -column , data=mydata, family=binomial)