On 27/11/10 16:04:35, Serdar Akin wrote: > I'm trying two combine two vectors that have different lengths. This without > recursive the shorter one. E.g., > > a <- seq(1:3) > b <- seq(1:6)
If that means your output should be (1 2 3 1 2 3 4 5 6) then c <- c(a,b) should solve this. Looks like _the_ basic vector operation. Georg. -- Research Assistant Otto-von-Guericke-Universität Magdeburg resea...@georgruss.de http://research.georgruss.de ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.