s-news
[Top] [All Lists]

Binding of array (unbalanced data set)

To: <s-news@lists.biostat.wustl.edu>
Subject: Binding of array (unbalanced data set)
From: "Dr.Takashi Kikuchi" <takashi.kikuchi@st-hughs.oxford.ac.uk>
Date: Tue, 28 Jan 2003 16:57:56 -0000
Organization: University of Oxford

Dear

Sorry for a beginner's question.  I want to bind the following four arrays into one array such as 1 3 2 6 7 8  4 6 1 3 4 7, which has one raw  form.  Could you please tell me the wise code to do it?  Finally, I want to obtain list(y=( 1 ,3 ,2, 6 ,7 ,8 , 4 ,6 ,1 ,3, 4 ,7), offset=c(1,3,7)) to assign unbalanced data.

[[1]]:

[1]  1 3

[[2]]:

[1]  2 6 7 8

[[3]]:

[1]  4 6 1 3 4 7

All the best

Takashi Kikuchi

<Prev in Thread] Current Thread [Next in Thread>
  • Binding of array (unbalanced data set), Dr.Takashi Kikuchi <=