calc_lab_runtime: Calculate run times for labs

Description Usage Arguments Details Value

Description

calc_lab_runtime calculates run time and duration for labs

Usage

1
calc_lab_runtime(cont.data, units = "hours")

Arguments

cont.data

A data frame with serial measurement data

units

An optional string with the unit of measure to pass to difftime, defaults to hours

Details

This function takes a data frame with serial measurement data and produces a data frame with the duration of time at each value and cumulative run time. The data frame should have a column called lab.start which is used as the zero time for calculations.

Value

A data frame


bgulbis/BGTools documentation built on May 12, 2019, 8:21 p.m.