.#RStats - is there a function that can directly compare two datasets and spit out some indicator of their differences? For example, number of rows that are different or something? #rstudio
10
9
68
I like `diffobj` by @BrodieGaslam for this. It has a number of options; a vanilla use (where my default theme makes the color difference a little hard to see) is below: `diffobj::diffObj(M, N)`. See cran.r-project.org/package=d… for more. #rstats
2
3
1
36
Ohh that is super cool, thanks!!
1
Glad you like it. We built on top of it with a package for the special case of showing students possible errors in their answers when using an autograder, see cran.r-project.org/package=t… for more. As a by-product this extends it for use the `tinytest` test runner we use. #rstats

Aug 4, 2022 · 1:17 AM UTC

2
7