[R] Combind two different vector
Georg Ruß
research at georgruss.de
Sat Nov 27 19:56:16 CET 2010
On 27/11/10 19:04:27, Serdar Akin wrote:
> Hi
> No its has to be like this:
> a b
> 1 1
> 2 2
> 3 3
> 4
> 5
> 6
Hmm, "empty" elements in such an array? Seems not really recommended, if
it's possible at all. You may try filling up the shorter vector with NA's
or any other values that your application can understand appropriately.
Then do rbind or cbind, as necessary.
Georg.
PS: you may also reply to the r-help list
--
Research Assistant
Otto-von-Guericke-Universität Magdeburg
research at georgruss.de
http://research.georgruss.de
More information about the R-help
mailing list