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
Post a Comment