time_series_data_graph: Create a PDF with one time-series graph for each group in the...

Description Usage Arguments Value

View source: R/graphs.R

Description

Create a PDF with one time-series graph for each group in the data.

Usage

1
2
3
4
5
6
7
8
time_series_data_graph(
  data,
  numeric_variable,
  time_variable,
  group_variable,
  outlier_std_dev_value = 1.96,
  file_name
)

Arguments

data

A data.frame with the data you want to graph.

numeric_variable

A string with the name of the column with numeric data to graph.

time_variable

A string with the name of the column that contains the time variable.

group_variable

A string with the name of the column with the grouping variable.

outlier_std_dev_value

A number that indicates how many standard deviations from the group mean an outlier is. Outliers will be colored orange in the data.

file_name

A string with the name of the PDF to be made with one page for each graph.

Value

A PDF with one page per graph


crimeutils documentation built on Feb. 3, 2021, 5:07 p.m.