measure_change_over_time_long {ezEDA}R Documentation

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

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

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

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

[Package ezEDA version 0.1.1 Index]