Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
データセットの utc 時間はマイクロ秒です
TIME,DATA1,DATA2 1350359123.325330,661.00,765.00 1350359123.491836,661.00,765.50
ただし、utc 形式の変換とマイクロ秒を同時に行うことはできません。
すでに同様の質問をしましたが、時間形式が異なります。
時間の解析は必要ありませんzoo。xts
zoo
xts
R> as.POSIXct(c(1350359123.325330, 1350359123.491836), + origin="1970-01-01", tz="UTC") [1] "2012-10-16 03:45:23.325330 UTC" "2012-10-16 03:45:23.491836 UTC" R>
時間オブジェクトとして与えられたので、データ部分のorオブジェクトをPOSIXct作成できます。xtszoo
POSIXct