问题:如何将指定的动物园结构放入xts?
的信息:
从csv导入会给出zoo对象,其中time是unix时间戳(以ms为单位)。
<bindings>
<basicHttpBinding>
<binding name="basicHttp" allowCookies="true"
maxReceivedMessageSize="2147483648"
maxBufferSize="2147483648"
maxBufferPoolSize="2147483648">
<readerQuotas maxDepth="32"
maxArrayLength="2147483648"
maxStringContentLength="2147483648"/>
</binding>
</basicHttpBinding>
</bindings>
尝试将其转换为xts失败。
V2 V3
1441711943070 1.11472 1.11476
1441711946545 1.11472 1.11477
1441711946784 1.11472 1.11476
...
暂时我通过更改csv结构并使用POSIXct读取来解决问题,但我想保留时间戳以便于数据保存。
想法:我可以将纪元索引重新解析为基于时间的结构,还是有更好的解决方案?