Displaying 1 result from an estimated 1 matches for "submissionstatus".
2007 Dec 20
1
ifelse problem
Could someone help me with the following code snippet. The results are not
what I expect:
> Sheet1$Claims[1:10]
[1] NA 1 2 NA NA NA NA NA NA NA
> Sheet1[1:10,"SubmissionStatus"]
[1] Declined Bound Bound Bound Bound Bound Declined
Dead Declined
[10] Not Taken
Levels: Bound Dead Declined Not Taken
> Sheet1$Claimsnum <- NA
> Sheet1$Claimsnum <- ifelse(Sheet1$SubmissionStatus != "Bound",99999,
+
if...