measure_change_over_time_long: Plot the change of a measure (or set of measures) over time...

Description Usage Arguments Value Examples

View source: R/measure_trends.R

Description

Plot the change of a measure (or set of measures) over time where the data is in "long" format That is, all measures are in one column with another column labeling each measure value

Usage

1
2
3
4
5
6
7
measure_change_over_time_long(
  data,
  time_col,
  measure_labels,
  measure_values,
  ...
)

Arguments

data

A data frame or tibble

time_col

Unquoted column name with time values to plot on the x axis

measure_labels

Unquoted column name containing the name of the measure in the corresponding measure_values (see below) row (up to 6 measures)

measure_values

Unquted column name of the column with the measure values to be plotted

...

Unquoted names of measures to plot (up to 6 measures)

Value

A ggplot plot object

Examples

1
measure_change_over_time_long(ggplot2::economics_long, date, variable, value, pop, unemploy)

kviswana/ezEDA documentation built on July 1, 2021, 1:02 p.m.