Displaying 1 result from an estimated 1 matches for "later_d".
Did you mean:
later_
2011 Mar 21
1
Trouble with simple R list concatenations
...M How can I concatenate the following lists into ONE LIST WITHOUT
the unhelpful message "operator is invalid for atomic vectors"? Combine
as a data frame?
EXAMPLE
Birth_Date <- NULL
Birth_Date[1:3] <- c("01/17/1939","01/17/1949", "01/17/1959")
Later_Date <- NULL
Later_Date[1:3] <- c("01/17/2009", NA, NA)
Names <- NULL
Names[1:3] <- c("Martha Smith", "John Doe", "Rufus Nobody")
#this does not work
family <- c(Birth_Date, Later_Date, Names)
family$Birth_Date
Error...