Compare values of R data frame
Budget: $10 – $30 USD
Need your help to compare row values of column of data frame with another column in R. The compare should be done with variable of similar name. For example, in below table, I need to compare Name with Name_; Date with Date_; Val with Val_ and output the difference in a separate column called Update. If there is no difference in the values then update column will be blank. If there is difference in values then I need to display all the difference by concatenating the name of variable without underscore with the value of underscore variable (Like shown below)
The code should work for multiple data frames that can have more then 100 columns.
The code should work for multiple data frames that can have more then 100 columns.
Related categories:
R Programming Language