Skip to contents

Convert numeric time vector based on the provided units.

Usage

convertTime(x, from, to)

Arguments

x

numeric time vector

from

unit of x, single character value

to

destination unit, single character value

Value

numeric vector with the converted times