Hello,
I have trouble with extracting Date string from my each row data.
The date format I use is as the follows:
----------------------------------------------------------------------------
-----------
Index,Open,High,Low,Close # header
2011-11-01 9:00:00 ,248.50,248.95,248.20,248.70 ...
....
----------------------------------------------------------------------------
-----------
When I read the data with the below code,
data_min1 <- as.xts(read.zoo("E://log.txt", sep=",", FUN=as.chron,
header=TRUE))
the result is as the follows:
I tried to extract Date object of each row(2011-11-01) and convert is as
string("2011-11-01").
But I couldn't.
Could you help me ?
Thanks in advance.
SK Park