ezr.multi_line_plot: Multiple Line Plots Same X Axis

Description Usage Arguments Details Value

Description

Plots multiple lines against the same x axis. Often the X value will be a date field.

Usage

1
2
3
ezr.multi_line_plot(dataset, x, y1, y2 = NULL, grouping = NULL,
  title = NULL, y_lab = NULL, date_breaks = NULL,
  date_labels = NULL)

Arguments

dataset

dataframe

x

normally a date, but can be continous

y1

y axis value

y2

NULL by default. Use if the value to be plotted is in a 2nd column

grouping

NULL by default. Use if the value to be plotted is dependant upon a group

Details

Option A: If the numerical value to plot is in two columns use y1 and y2. Option B: If the numerical value to plot is in single column, but to be plotted by a grouped column, use the 'grouping' field

Value

A plot


jmp1989/easyr documentation built on May 20, 2019, 7:25 a.m.