我想用bupaR绘制跟踪资源管理器模型,但是用于绘制流程模型的事件日志不适用于绘制跟踪模型。我总是收到错误消息:解析错误(text = x)::1:6:意外符号 1:案例ID
A tibble: 346 x 8
`Case ID` Condition Instance Timestamp Ressource Activity Status .order
<chr> <dbl> <chr> <date> <fct> <fct> <fct> <int>
1 3 2 1 1970-01-02 3 Motivational Shared Ausgeführt 1
2 3 2 2 1970-01-03 3 Motivational Shared Ausgeführt 2
3 4 2 3 1970-01-02 4 Metakognitiv Shared Ausgeführt 3
4 4 2 4 1970-01-03 4 Elaboration Shared Ausgeführt 4
5 5 2 5 1970-01-02 5 Nichtmotivational Shared Ausgeführt 5
6 5 2 6 1970-01-03 5 Nichtmotivational Shared Ausgeführt 6
7 5 2 7 1970-01-04 5 Nichtmotivational Shared Ausgeführt 7
eventlog2 <- Neu2 %>% #a data.frame with the information in the table above
eventlog(
case_id = "Case ID",
activity_id = "Activity",
activity_instance_id = "Instance",
lifecycle_id = "Status",
timestamp = "Timestamp",
resource_id = "Ressource"
)
此行的确会产生错误:
eventlog2 %>%
trace_explorer(coverage = 0.9)