R Regression Loop Variable Name

前端 未结 0 623
南笙
南笙 2021-01-03 18:04

I am running a regression in a loop of the following form:

regression[[i]] <- glm(as.formula(paste(depvars[i],"~",indepvars[j],"+ var1 + var2

相关标签:
回答
  • 消灭零回复
提交回复
热议问题