s-news
[Top] [All Lists]

Concatenating random number of random length vectors

To: "S-plus list (S-plus list)" <s-news@wubios.wustl.edu>
Subject: Concatenating random number of random length vectors
From: "P.J.Wells" <P.J.Wells@open.ac.uk>
Date: Thu, 27 Mar 2003 16:04:55 -0000
The following looks like it should be simple, but I can't see it -- would
someone kick-start me?

I have vectors sample.1, sample.2,...sample.N, where N is a random number,
and length(sample.i) is also random.

How do I turn these into one big vector? 

Julian Wells

School of Management
The Open University
Walton Hall
Milton Keynes
MK7 6AA
United Kingdom

(01908) 654658
+44 (1908) 654658 

<Prev in Thread] Current Thread [Next in Thread>