Sorry if this a basic question. I've looked everywhere for help and can't seem to find an answer. Basically I have two data frames, one is a "Answer Key" with the answers starting in column 3.
and a master data frame with the answers of fifty students.
The student ID is in column one with the answers starting in column three.
How do I construct a for loop to return a vector or data frame with TRUEs or FALSEs for if they got the question right or wrong? Thank you for the help! This has had me stumped for a week