Skip to content
Prev 245995 / 398503 Next

How to create an array of lists of multiple components?

On Wed, Dec 29, 2010 at 4:58 PM, Marius Hofert <m_hofert at web.de> wrote:
Try this:

array(sapply(sapply(l, c), c), c(4, 3, 2))