How can I turn the 3 item output of the for loop below into a data frame. In attempting a solution, I've tried:
-Creating an object related to the for loop, but couldn't succeed -Creating a matrix, to no effect
What code would turn the output into a vector or list?
> for(i in X$Planned)ifelse(is.na(i),print("ISNA"),print("NOTNA"))
[1] "NOTNA"
[1] "NOTNA"
[1] "ISNA"