How to check if values in individiual rows of a data.table are identical

前端 未结 0 1129
轮回少年
轮回少年 2021-01-01 07:27

Suppose I have the following data.table:

dt <- data.table(a = 1:2, b = 1:2, c = c(1, 1))

# dt
#    a b c
# 1: 1 1 1
# 2: 2 2 1

What would

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