Dear all,
Many thanks for your help.
Regards,
Muhammad Subianto
On this day 5/18/2005 4:57 PM, Liaw, Andy wrote:
Is this what you want?
split(a, row(a))
$1
[1] 1 5 9
$2
[1] 2 6 10
$3
[1] 3 7 11
$4
[1] 4 8 12
Andy
On this day 5/18/2005 5:15 PM, [EMAIL PROTECTED] wrote:
Look
How about?
p1-a[1,]
p1
[1] 1 5 9
p2-a[2,]
p2
[1] 2 6 10
p3-a[3,]
p3
[1] 3 7 11
p4-a[4,]
p4
[1] 4 8 12
Jia
- Original Message -
From: Muhammad Subianto [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Sent: Wednesday, May 18, 2005 10:18 AM
Subject: [R] How to convert array to c