Hi
I have some data with these dimensions:
5 3 100
which correspond to the x, y, and time dimensions, for a variable, p.
I need the data in this format: 100 rows (1 row per time unit), and 15
values in each row.
I have attempted to reshape my data
>dim(data)
5 3 100
>attr(data,'dim')<-c(dim
50, dim=c(3,5,10))
> XYbyT= matrix(apply(XYT, 3, I), ncol=10)
>
> ...or even...
>
> XYbyT= matrix(XYT, ncol=10)
>
> --
> David.
>
> On Sep 19, 2009, at 1:11 PM, Xi Ang wrote:
>
>>
>> Hi
>>
>> I have some data with these dimensions:
>>
2 matches
Mail list logo