powered by
Scores a True/False (Doğru/Yanlış) response vector against a key.
parse_tf_bin(x, key)
An integer vector (1=correct, 0=wrong, NA=invalid).
A vector of student responses.
The correct answer key (e.g., "D", "Y", "TRUE", "FALSE").
parse_tf_bin(c("D", "Y", "DOGRU", "False", "Belki"), key = "D")
Run the code above in your browser using DataLab