Some hints at the following link where the "order.by requires an
appropriate time-based object" error is commented.
http://stackoverflow.com/questions/23224142/converting-data-frame-to-xts-order-by-requires-an-appropriate-time-based-object
--
GG
[[alternative HTML version deleted]]