build a model within a function returns “variable lengths differ (found for 'var')”

后端 未结 0 389
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-02 15:16

I am trying to build a function to run a model based on a list of variables. The code works fine outside a function

data <- ovarian
model <- glm(fustat          


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