standardiseTime function

Standardise time to hours.

Standardise time to hours.

standardiseTime(x, unit)

Arguments

  • x: numeric time vector
  • unit: unit of x, single character value

Returns

numeric vector with the times converted to hours