quarter2Date: Convert dates formatted as year-quarter to dates objects

Description Usage Arguments Value Author(s)

View source: R/date-utilities.R

Description

Function to convert dates formatted as year-quarter to date-format objects

Usage

1
quarter2Date(x, base.month = "Mar", format = "%Y-Q%q")

Arguments

x

Year-quarter date format

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.

Author(s)

David Mitchell <david.pk.mitchell@gmail.com>


raustats documentation built on Jan. 11, 2020, 9:31 a.m.