get_month_num: Convert month name to the month's number (e.g. "February" or...

Description Usage Arguments Examples

View source: R/helpers.R

Description

Convert month name to the month's number (e.g. "February" or "Feb" returns 2)

Usage

1
get_month_num(month, list.of.months = month.name)

Arguments

month

String containing the month, either in full (e.g. "February") or abbreviated ("Feb")

list.of.months

Optional list of month names. Defaults to the full names ('month.name'); use 'month.abb' for short month names

Examples

1
2

matthewgthomas/brclib documentation built on Feb. 21, 2020, 6:18 p.m.