convert_to_month {chevron}R Documentation

Helper function to convert to months if needed

Description

Helper function to convert to months if needed

Usage

convert_to_month(x, unit)

Arguments

x

(numeric) time.

unit

(character) or (factor) time unit.

Value

A numeric vector with the time in months.


[Package chevron version 0.2.6 Index]