Learn R Programming

IceSat2R (version 1.0.7)

switch_abb: Convert an abbreviated month name to a numeric value

Description

Convert an abbreviated month name to a numeric value

Usage

switch_abb(month)

Value

a character string which will correspond to the numeric value of the input month, i.e. ("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12")

Arguments

month

a character string specifying one of the twelve months, i.e. ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec")