ME_Rec: Recession markers

Description Usage Arguments Value Examples

Description

Most macroeconomic data when put into a picture is more informative if a recession marker is placed in the graphic. This function extracts the recession markers and grooms them into a format for easy plotting.

Usage

1
ME_Rec(B, level = TRUE)

Arguments

B

is a dataframe of macroeconomic data with a column titled date and one titled with a "macro variable"

level

is a logical variable TRUE means the data in B is measured in levels, FALSE means the data in B is measured in growth rates.

Value

A dataframe of recession markers is returned and is ready to be plotted next to macroeconomic time series data.

Examples

1
ME_Rec(X)

greegreg/AdvancedR documentation built on May 24, 2019, 4:05 a.m.