You can try this also:
m <- do.call(rbind, sapply(split(x, rep(seq(length(x)/3), each = 3)),
do.call, what = cbind))
dimnames(m) <- list(paste("Case", rep(1:3, unique(sapply(x, length))),
sep = ""), c("First", "Length", "Value"))
On Mon, Feb 1, 2010 at 5:58 AM, Oliver Gondring wrote:
> Hello Wil
Hello William, hello David,
thanks a lot for helping and keeping me going on what sometimes seems
to be a long way to R mastery! :)
I found that the two solutions William proposed were in fact easier to
understand for me at the moment as David's (and has the additional
advantage of producin
2 matches
Mail list logo