I have the following CSV file:
D1 Diff
20/11/2014 16:00 0
20/11/2014 17:00 0.01
20/11/2014 18:00 0.04
20/11/2014 19:00 0.03
Where D1 is a date with time. When I use the following command:
ts1<-read.csv (file.choose(), row.names=1 )
result:
> head (ts1)
Diff
20/11/2014 16:00 0.00
20/11/2014 17:00 0.01
20/11/2014 18:00 0.04
20/11/2014 19:00 0.03
20/11/2014 20:00 0.02
20/11/2014 21:00 0.03
Why does the first column header (D1) is ignored?