Thanks!

I wish I could use "xts for microsecond" time series whenever possible...

But the problem is that in the dataframe, some columns are of char factors
type...

When I converted the dataframe into xts, all the numbers became chars...

The resultant xts object is completely unoperable....

I have been fighting this for almost a day but couldn't find a solution for
this...

Therefore I had to remain in the dataframe domain so that both numbers and
chars/factors can coexist...

What is my problem?

Thanks a lot!

On Fri, Jan 20, 2012 at 2:30 PM, Brian G. Peterson <brian@braverock.com>wrote:

> On Fri, 2012-01-20 at 14:17 -0600, Michael wrote:
> > And what if I am not dealing with xts/zoo objects?
>
> If you are using anything other than xts for micorsecond time series
> data, you're doing it wrong.  Period.
>
> Put your data.frame into xts, which will order it automagically, and
> makes available all the wonders of xts subsetting.
>
> You can't help reading data into a data.frame at least temporarily
> (though read.zoo hides this), but you should get out of the wrong format
> and into a real time series format as close to instantly as possible.
>
> --
> Brian
>
>

	[[alternative HTML version deleted]]

