FPtoCP: Converts a Fiscal Period to to a Caendar Period to a Fiscal...

Description Usage Arguments Details Value Author(s)

Description

Converts a Fiscal Period to to a Caendar Period to a Fiscal Period

Usage

1
FPtoCP(fp, n = 6, reverse = FALSE)

Arguments

fp

an integer vector of fiscal period of the form yyyymm

n

number of months difference between the fiscal year and the calendar year

reverse

True or FALSE reverses the function to go from CP to FP

Details

A fiscal period of 201701 starting in July CY 2016 would have a n=6 ( This is 'new fiscal year starts july 1st' scenario

Value

A vector of calendar periods of the form yyyymm

Author(s)

Matthew Davis


mdavis29/fpTools documentation built on May 22, 2019, 3:22 p.m.