How do I understand the warnings from rbind?
问题 If I have two data.frames with the same column names, I can use rbind to make a single data frame. However, if I have one is a factor and the other is an int, I get a warning like this: Warning message: In [<-.factor ( *tmp* , ri, value = c(1L, 1L, 0L, 0L, 0L, 1L, 1L, : invalid factor level, NA generated The following is a simplification of the problem: t1 <- structure(list(test = structure(c(1L, 1L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 2L), .Label = c("False", "True"), class = "factor")), .Names =