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

The character vector containing id variables which identify the observations in dataframe 'df1' and datafram '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.5 Index]