Learn R Programming

fundManageR (version 0.5.02210501)

plot_time_series_static: Plot ggplot time series

Description

Plot ggplot time series

Usage

plot_time_series_static(data, date_start = NULL, date_end = NULL,
  transformations = c("mean", "median", "smooth"),
  include_recessions = TRUE, x_breaks = 12, plot_labels = TRUE,
  use_hrbr_theme = TRUE)

Arguments

data

a data frame

date_start

if not NULL date starting

date_end

if not NULL date ending

transformations
  • smooth -- smoothed line

  • mean -- mean

  • median

include_recessions

if TRUE includes recession bars

x_breaks

number of x breks

plot_labels

if TRUE plots labels

use_hrbr_theme

if TRUE returns hrbr theme

Value

a ggplot2 object