How can I iterate through a series of columns performing simple regression in R, and save the residuals for each as new variables?

前端 未结 0 942
生来不讨喜
生来不讨喜 2021-02-06 01:56

Within my dataframe in R I have 20 columns in sequence containing continuous numeric variables. I want to iterate through these columns and perform the same regression on the ob

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