[R] Append to a vector?

rkevinburton at charter.net rkevinburton at charter.net
Thu Aug 7 18:38:58 CEST 2008


This is probably an extemly easy operation I just could not find out how to do it.

I simple want to append to a vector. 

a <- c(1,2,3,4)
a <- union(a, c(5))

I want to append the value 5 or even another vector. Or is the a "better" way?

Kevin



More information about the R-help mailing list