convert_to_month: Helper function to convert to months if needed

View source: R/utils.R

convert_to_monthR 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.


chevron documentation built on June 20, 2025, 5:08 p.m.