Hi Hyo,
I am kinda of new in R but I think if you use
x <- as.matrix(data2) #with the numer of collumns you wish
y <- t(x)
it should work
Hope I´ve helped
Márcio
Hyo Lee wrote:
>
> Hi guys,
> I need your help!!
>
> My goal is to make a csv file from ncdf file.
> This is the code i've used
Hyo Lee wrote:
>
>
> Teach me how to deal with this problem.
> Thank you very much.
>
> -Hyo
>
>
A good thing to try if you're stuck finding the right function in R is
searching with ??. For example, if you type:
??"transpose"
The base routine t(), which performs a matrix transpose, is
*Hum*
bbb=t(as.matrix(data2)) ?
good luck
milton
On Sun, Sep 27, 2009 at 12:39 AM, Hyo Lee wrote:
> Hi guys,
> I need your help!!
>
> My goal is to make a csv file from ncdf file.
> This is the code i've used :
>
> > hyo=open.ncdf("C:/CRUTEM3.nc")
> > hyo
> [1] "file C:/CRUTEM3.nc has 4 di
Hi guys,
I need your help!!
My goal is to make a csv file from ncdf file.
This is the code i've used :
> hyo=open.ncdf("C:/CRUTEM3.nc")
> hyo
[1] "file C:/CRUTEM3.nc has 4 dimensions:"
[1] "longitude Size: 72"
[1] "latitude Size: 36"
[1] "unspecified Size: 1"
[1] "t Size: 1916"
[1] "-
4 matches
Mail list logo