Nothing
processing_time_trace <- function(log, units, work_schedule) {
relative_frequency <- NULL
traces <- case_list(log)
log %>%
processing_time_case(units = units, work_schedule = work_schedule) -> raw
# Store time units, because dplyr transformations remove the attributes.
time_units <- attr(raw, "units")
raw %>%
merge(traces) %>%
group_by(trace) %>%
grouped_summary_statistics("processing_time", relative_frequency = n()) %>%
mutate(relative_frequency = relative_frequency/sum(relative_frequency)) %>%
select(trace, relative_frequency, everything()) %>%
arrange(desc(relative_frequency)) -> output
attr(output, "raw") <- raw
attr(output, "units") <- time_units
return(output)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.