search for: check_xi

Displaying 1 result from an estimated 1 matches for "check_xi".

Did you mean: check_xy
2012 Mar 21
2
Check results between two data.frame
Dear R-user, I'm trying to compare two sets of results and wanted to find out which element in the two data frame/matrix are different. I wrote the following function and it works ok, and gives me a long list of "good" as outcomes. CHECK<- function (x = "file1", y = "file2") { for (i in 1:nrow(x)) { for (j in 1:ncol(x)) { if (x[i, j]