Looping through the rows of dataframe in R

后端 未结 0 446
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 23:31

I have a dataframe df with 6 fields A,B,C,D,E & F. My requirement is to create a new column G which is equal to the previous value(C) + previous value(D) + previous (G)

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