
A function to instantiate an object of class eventlog
by specifying a
data.frame
or tbl_df
and the minimally required case identifier, activity identifier and timestamp
simple_eventlog(eventlog, case_id = NULL, activity_id = NULL,
timestamp = NULL)isimple_eventlog(eventlog)
The data object to be used as event log. This can be a
data.frame
or tbl_df
.
The case classifier of the event log.
The activity classifier of the event log.
The timestamp of the event log.
eventlog
,case_id
, activity_id
,
activity_instance_id
,lifecycle_id
,
timestamp
# NOT RUN {
data <- data.frame(case = rep("A",5),
activity_id = c("A","B","C","D","E"),
timestamp = 1:5,
simple_eventlog(data,case_id = "case",
activity_id = "activity_id",
timestamp = "timestamp")
# }
Run the code above in your browser using DataLab