if else loop to create a new categorical variable

前端 未结 0 396
囚心锁ツ
囚心锁ツ 2021-01-19 04:32

i would like to get a new variable "lastocc" with the values 1 and 2. the variable "lastocc" should show for each word if its last occurrence was shown a

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