Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DataFrame Comparison Tool

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
NotificationsYou must be signed in to change notification settings

gowerc/diffdf

Repository files navigation

CRAN_Status_BadgeDownloadsCode Coverage 📔

diffdf compares twodata.frame objects and provides a detailed summary of any differences that were found between them. The package has it's origins in supporting QC workflows for product development within the pharmaceutical industry aiming at being a light weight alternative to SAS'sPROC COMPARE.

Currently diffdf supports the following:

  • Checking for differences in:
    • Values
    • Attributes
    • Classes
    • Column names
    • Number of observations
    • Column ordering
  • Matching rows by key/id variables
  • Fuzzy comparisons (i.e. treating doubles and integers as the same)
  • Extracting datasets of different rows

For more information on features please consult the vignette and man pages.

Alternatives

Ifdiffdf isn't quite right for your use case then the following are other packages that provide similar functionality that may be more appropriate:

Installation

You can install the released version of diffdf fromCRAN with:

install.packages("diffdf")

And the development version fromGitHub with:

# install.packages("devtools")devtools::install_github("gowerc/diffdf")

Example

library(diffdf)iris2<-irisfor (iin1:3)iris2[i,i]<-i^2iris2$new_var<-"hello"class(iris2$Species)<-"some class"diffdf(iris,iris2)

About

DataFrame Comparison Tool

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Contributors3

  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp