I guess matrix(x, ncol=73, byrow=TRUE) should work
Mikhail
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Zablone Owiti
> Sent: Wednesday, March 23, 2011 6:14 AM
> To: r-help@r-project.org
> Subject: [R
On Wed, Mar 23, 2011 at 11:13 AM, Zablone Owiti wrote:
> Dear users,
>
> I wish to convert a column of data containing pentad (5day mean data)
> from 1962 - 2000 into rows with each row having 73 values (ie. 73 pentads
> per year).
>
>
>
> 1962 pent1 pent2 pent73
>
> .
> .
> .
>
Dear users,
I wish to convert a column of data containing pentad (5day mean data)
from 1962 - 2000 into rows with each row having 73 values (ie. 73 pentads
per year).
1962 pent1 pent2 pent73
.
.
.
.
2000 pent1 pent2 ..pent73
What commands should I use to ach
3 matches
Mail list logo