convert2secondsR Documentation

Convert time to seconds

Description

Converts time measurements into seconds

Usage

convert2seconds(T, input = "minutes")

Arguments

T

The time value to convert

input

The unit of time to convert, allowed values are "minutes", "hours", "days", "years".

Value

The numeric value in seconds