Learn R Programming

campsis (version 1.7.0)

convertTime: Convert numeric time vector based on the provided units.

Description

Convert numeric time vector based on the provided units.

Usage

convertTime(x, from, to)

Value

numeric vector with the converted times

Arguments

x

numeric time vector

from

unit of x, single character value

to

destination unit, single character value