Skip to content
Prev 139387 / 398506 Next

How to cbind or rbind different lengths vectors/arrays without repeating the elements of the shorter vectors/arrays ?

Try converting them to time series, cbinding and unconverting:

cbind(x = ts(x), y = ts(y))[TRUE, ]
On Thu, Mar 13, 2008 at 10:13 AM, Ng Stanley <stanleyngkl at gmail.com> wrote: