我有一个序列数据集,其中时间戳从纪元开始以秒为单位:
id event time end
1 723 opened 1356963741 1356963741
2 722 opened 1356931342 1356931342
3 721 referenced 1356988206 1356988206
4 721 referenced 1356988186 1356988186
5 721 closed 1356988186 1356988186
6 721 merged 1356988186 1356988186
7 721 closed 1356988186 1356988186
8 721 merged 1356988186 1356988186
9 721 discussed 1356966433 1356966433
10 721 discussed 1356963870 1356963870
我想创建一个STS
序列对象:
sequences.sts <- seqformat(data, from="SPELL", to="STS",
begin="time", end="end", id="id", status="event", limit=slmax)
sequences.sts <- seqdef(sequences.sts)
summary(sequences.sts)
但是,当我这样做时,RStudio 会崩溃,并且或多或少会冻结我的整个计算机。通过与其他运行良好的代码进行比较,这些代码在“时间”列中使用了个位数,我想我已经将问题确定为时间戳。会不会是 R/RStudio/TraMineR 只是因为长时间戳而过载?