quarter2Date: Convert dates formatted as year-quarter to dates objects
Description
Function to convert dates formatted as year-quarter to date-format objects
Usage
quarter2Date(x, base.month = "Mar", format = "%Y-Q%q")
Arguments
base.month
Specifies base month for first quarter. Can be a scalar: 1,2,3 or character
object: Jan, Feb, Mar.
format
The input date format. Default is "%Y-Q%q".
Value
This function returns a Date format object.