I am trying to use an if statement within a for loop to compare the values of two columns of a dataframe against each other. A sample of three relevant vectors in my data frame is shown here.I am trying to use an if statement within a for
I am trying to use an if statement within a for loop to compare the values of two columns of a dataframe against each other. A sample of three relevant vectors in my data frame is shown here.I am trying to use an if statement within a for