Skip to content
Back to formatted view

Raw Message

Message-ID: <21792064.post@talk.nabble.com>
Date: 2009-02-02T15:52:06Z
From: Shruthi Jayaram
Subject: Matrix

Hi,

I have a very basic question on merging two matrices by alternating the
rows. For illustration, assume two matrices -

A looks like:

10 10
10 10

B looks like:

20 20
20 20 

How do I combine them such that I get alternating rows from A and B? My
final result should be C which looks like:

10 10 
20 20
10 10
20 20

Thanks very much, and I am sorry for such a newbie question.

Shruthi
-- 
View this message in context: http://www.nabble.com/Matrix-tp21792064p21792064.html
Sent from the R help mailing list archive at Nabble.com.