R/processing_time_log.R

Defines functions processing_time_log

processing_time_log <- function(log, units,	work_schedule) {

	raw <- processing_time_case(log, units = units, work_schedule = work_schedule)

	# Store time units, because dplyr transformations remove the attributes.
	time_units <- attr(raw, "units")

	raw %>%
		pull(processing_time) %>%
		summary_statistics -> output

	attr(output, "raw") <- raw
	attr(output, "units") <- time_units
	output
}

Try the edeaR package in your browser

Any scripts or data that you put into this service are public.

edeaR documentation built on April 27, 2023, 9:07 a.m.