[R] Combind two different vector

Georg Ruß
Sat, 27 Nov 2010 18:56:16 -0000

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