Skip to content
Prev 43769 / 398513 Next

correction to the previously asked question (about merging factors)

How about simply

F1 <- factor(c("b", "a"))
F2 <- factor(c("c", "b"))
F3 <- factor(c(levels(F1)[F1], levels(F2)[F2]))

-sundar
Spencer Graves wrote: