convert_time_to_min: Convert time to minutes

View source: R/convert_time_to_min.R

convert_time_to_minR Documentation

Convert time to minutes

Description

Convert time to minutes

Usage

convert_time_to_min(time, time_units)

Arguments

time

numeric vector

time_units

specify the units of current time values

Value

numeric vector

Examples

convert_time_to_min(1.5, "hr")
convert_time_to_min(1.5, "hrs")
convert_time_to_min(1.5, "hours")
convert_time_to_min(60, "secs")
convert_time_to_min(60, "s")

JMLuther/tabletools documentation built on July 1, 2024, 2:01 p.m.