word2month: Months in words to months in numbers

Description Usage Arguments Value Examples

View source: R/imarpe-auxiliar.R

Description

Function to convert abbreviations of months in words to months in number.

Usage

1

Arguments

x

A vector with the abbreviation of months in words.

Value

A vector with the months in numbers. Where January is number one and increasing until December that is the number twelve.

Examples

1
2
3
# The 'months' vector have the twelve abbreviation months
months = month.abb
word2month(x = months)

imarpe/imarpe documentation built on Aug. 8, 2020, 8:40 p.m.