Compare if two dataframe objects in R are equal?

前端 未结 4 610
后悔当初
后悔当初 2020-12-23 19:33

How do I check if two objects, e.g. dataframes, are value equal in R?

By value equal, I mean the value of each row of each column of one dataframe is equal to the va

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-23 20:02

    In addition, identical is still useful and supports the practical goal:

    identical(a[, "x"], b[, "y"]) # TRUE
    

提交回复
热议问题