[R] apply union function vectorially
statquant2
statquant at gmail.com
Wed Sep 22 14:11:27 CEST 2010
Hello everybody,
I have a list.array which is a list containing arrays, lets say
list.array= list( c(1,2,3),c(5,6,7),c(1,4,6,7,8) );
I would like to apply the union function to those 3 vectors to get the union
of the three : [1,2,3,4,5,6,7,8]
I tried do.call(what=union,args=list.array) but this is not working...
Do you have a non loop solution for this ?
Regards
--
View this message in context: http://r.789695.n4.nabble.com/apply-union-function-vectorially-tp2550162p2550162.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list