I am having some trouble debugging my nested ifelse statement.
Praxis_Dat$Result <-
ifelse(Praxis_Dat[, 22:24] == "Pass", "Pass",
ifelse(Praxis_Dat$`Met Praxis I Req by SAT` == "yes", "Exempt", "Not Pass"))
It runs the first part just fine, then won't run the second ifelse statement. I have tried reversing the order of the statements. I have several functions that work similarly. I don't understand why the second half is not running like it's supposed to.
Aucun commentaire:
Enregistrer un commentaire