B and C.
A <- 1:5
B <- 3:7
C <- 6:10
now I want to take union of these three vectors. I am doing like this :
uni <- union (A,union(B,C))
But is there any way to do it in loop or something if have more than three vectors of which I need to take the union of ??