[datatable-help] Problem in reading the data set

dila radi dila_radi21 at yahoo.com
Mon Oct 28 07:18:40 CET 2013


Hi all,

I have this kind of data. The data consist from year 1971-2000.

Station	Station ID Year Month Day Rainfall Amount(mm)
Kuantan	48657	71	1	1	125
Kuantan	48657	71	1	2	130.3
Kuantan	48657	71	1	3	327.2
Kuantan	48657	71	1	4	252.2
Kuantan	48657	71	1	5	33.8
Kuantan	48657	71	1	6	6.1
Kuantan	48657	71	1	7	5.1

................................................................
..............................................................
................................................................
................................................................

Kuantan	48657	00	12	24	0
Kuantan	48657	00	12	25	2.7
Kuantan	48657	00	12	26	0
Kuantan	48657	00	12	27	0
Kuantan	48657	00	12	28	20
Kuantan	48657	00	12	29	15.5
Kuantan	48657	00	12	30	6.4
Kuantan	48657	00	12	31	9.3

When I run for the Summary, the third column (year) give the output as
below:

Year
Min.   : 0.00   
1st Qu.:77.00   
Median :84.00  
Mean   :82.16   
3rd Qu.:92.00   
Max.   :99.00   

The minimum should be 1971 and maximum is 2000. But R misinterpret 2000 as
00 value.
How I want to solve this?

Thank you in advance.

Regards,
Dila.




--
View this message in context: http://r.789695.n4.nabble.com/Problem-in-reading-the-data-set-tp4679156.html
Sent from the datatable-help mailing list archive at Nabble.com.


More information about the datatable-help mailing list