time_series_data_graph {crimeutils} | R Documentation |
Create a PDF with one time-series graph for each group in the data.
Description
Create a PDF with one time-series graph for each group in the data.
Usage
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
[Package crimeutils version 0.5.1 Index]