Here is Str(Sheet1)
$ Claims : num NA 1 2 NA NA NA NA NA NA NA ...
$ SubmissionStatus : Factor w/ 4 levels "Bound","Dead",..: 3 1 1
1 1 1 3 2 3 4 ...
I would expect Sheet1$Claimsnum[4] to be 0, since the true condition of the
2nd ifelse evaluations to 0.
Without the "as.character" the results are still not the way I want them: