On Mon, Dec 6, 2010 at 5:57 AM, Gabor Grothendieck
wrote:
> On Mon, Dec 6, 2010 at 6:52 AM, Ted Zeng (曾振兴) wrote:
>>
>> Dear all,
>>
>> I am using the as.xts function to transfer a data frame to the xts
>>
>> The following is the code and result:
>>
>> a<-read.csv("price.csv")
>> a$Date<-as.POSIX
On Mon, Dec 6, 2010 at 6:52 AM, Ted Zeng (曾振兴) wrote:
>
> Dear all,
>
> I am using the as.xts function to transfer a data frame to the xts
>
> The following is the code and result:
>
> a<-read.csv("price.csv")
> a$Date<-as.POSIXct(a$Date)
>
> str(a)
> 'data.frame': 15637 obs. of 2 variables:
>
Dear all,
I am using the as.xts function to transfer a data frame to the xts
The following is the code and result:
a<-read.csv("price.csv")
a$Date<-as.POSIXct(a$Date)
str(a)
'data.frame': 15637 obs. of 2 variables:
$ Date : POSIXct, format: "2010-01-04 09:45:01" "2010-01-04 09:45:02"
"2
Quick newbie question please:
I am trying to turn a dataframe into xts with the function;
As.xts
But it returns the error;
Error in as.POSIXlt.character(x, tz, ...) :
character string is not in a standard unambiguous format
could someone give me some pointers please
the
4 matches
Mail list logo