Skip to content
Prev 3332 / 15274 Next

(no subject)

Hello Brian,
please find attached sample of the data
data[1:5,]
  X2002.07.01 X0.0071
1  2002-07-02  0.0072
2  2002-07-03  0.0072
3  2002-07-04  0.0073
4  2002-07-05  0.0073
5  2002-07-08  0.0073
str(data)
'data.frame':   1503 obs. of  2 variables:
 $ X2002.07.01: Factor w/ 1503 levels "2002-07-02","2002-07-03",..: 1 2 3
4 5 6 7 8 9 10 ...
 $ X0.0071    : num  0.0072 0.0072 0.0073 0.0073 0.0073 0.0073 0.0073
0.0073 0.0073 0.0074 ...
datas<-as.xts(data)
Fehler in as.POSIXlt.character(x, tz, ...) :
character string is not in a standard unambiguous format

How could I convert the data to xts?
Thank in advance,
Soeren





Please attach a short sample of your data file that replicates your error.