compare_data_frame_object {dataCompare}R Documentation

Function which perform the comparison of dataframe

Description

Function which perform the comparison of dataframe

Usage

compare_data_frame_object(df1, df2, id_var)

Arguments

df1

The first dataframe of the comparison

df2

The second dataframe of the comparison

id_var

Tve vector of id variable to identify the observations in df1 and df2

Value

An object of class "comparedf" as made by the 'comparedf' S3 method is returned.

Examples

library(dplyr)
compare_data_frame_object(
     iris %>% dplyr::mutate(ID = row_number()), 
     iris %>% dplyr::mutate(ID = row_number()), 
     'ID')

[Package dataCompare version 1.0.0 Index]