time_graph: Graph of indicators by year, with or without moving average...

time_graphR Documentation

Graph of indicators by year, with or without moving average and/or reference line

Description

Graph of indicators by year, with or without moving average and/or reference line

Usage

time_graph(
  df,
  indicator,
  ma = FALSE,
  weight = NULL,
  ylabel = NULL,
  refline = NULL,
  percent = FALSE
)

Arguments

df

data frame to read indicators etc from

indicator

df column name to graph

ma

set to true for moving averages

weight

weight to use for moving average

ylabel

y-axis label to use in graph

refline

optional y-reference line

percent

set to true for percentage value

Value

ggplot


KTH-Library/bibliomatrix documentation built on Feb. 29, 2024, 5:54 a.m.