plot_cycles: Plot cycles chart

View source: R/charting.R

plot_cyclesR Documentation

Plot cycles chart

Description

Plot cycles chart

Usage

plot_cycles(df, cycles_df, title = "", xlab = "Proportion of cycle",
  ylab = NULL)

Arguments

df

dataframe containing date and value

cycles_df

dataframe containing cycles with columns 'from' and 'to' as Dates

title

optional title of the chart

xlab

optional xlab for the chart

ylab

optional ylab for the chart

Examples

data(ez_biz_cycles)
data(pe_ratio_mxem)
plot_cycles(pe_ratio_mxem, ez_biz_cycles)

yunching/tidymas documentation built on Feb. 5, 2023, 1:42 p.m.