powered by
Function which perform the comparison of dataframe
compare_data_frame_object(df1, df2, id_var)
An object of class "comparedf" as made by the 'comparedf' S3 method is returned.
The first dataframe of the comparison
The second dataframe of the comparison
The character vector containing id variables which identify the observations in dataframe `df1` and datafram `df2`
library(dplyr) compare_data_frame_object( iris %>% dplyr::mutate(ID = row_number()), iris %>% dplyr::mutate(ID = row_number()), 'ID')
Run the code above in your browser using DataLab