Learn R Programming

maicplus (version 0.1.2)

get_time_as: Convert Time Values Using Scaling Factors

Description

Convert Time Values Using Scaling Factors

Usage

get_time_as(times, as = NULL)

Value

Returns a numeric vector calculated from times / get_time_conversion(factor = as)

Arguments

times

Numeric time values

as

A time scale to convert to. One of "days", "weeks", "months", "years"

Examples

Run this code
get_time_as(50, as = "months")

Run the code above in your browser using DataLab