powered by
napply(...,FUN)
l1 <- 2 l2 <- 4 napply(l1,l2,FUN=union)
Run the code above in your browser using DataLab