Learn R Programming

chevron (version 0.2.7)

convert_to_month: Helper function to convert to months if needed

Description

Helper function to convert to months if needed

Usage

convert_to_month(x, unit)

Value

A numeric vector with the time in months.

Arguments

x

(numeric) time.

unit

(character) or (factor) time unit.