r - Convert data.frame to xts object and preserve types -


is there way create xts object data.frame , preserve data type? numerics being converted character. post 2009 suggests merging columns existing xts: http://r.789695.n4.nabble.com/as-xts-convert-all-my-numeric-data-to-character-td975564.html

it wasn't clear whether way this. seems bit of hack , cumbersome large data frames. think out-of-the-box xts respect datatypes.

no, can't. xts/zoo objects matrix index attribute , can't mix types in matrix.

we've considered creating xts-data.frame class primary concern of xts speed , memory efficiency. data.frames not speed , memory efficient, hasn't been priority.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -