Last chance! 50% off unlimited learning
Sale ends in
powered by
Helper function to convert to months if needed
convert_to_month(x, unit)
A numeric vector with the time in months.
numeric
(numeric) time.
(character) or (factor) time unit.
character
factor